BarChart constructor
- Key? key,
- required List<
ChartValue> data, - required ShapeBorder shape,
- double thickness = 20,
- double? spacing,
- MainAxisAlignment? mainAxisAlignment,
- CrossAxisAlignment? crossAxisAlignment,
- Duration duration = const Duration(milliseconds: 500),
- Curve curve = Curves.fastOutSlowIn,
- Duration delay = const Duration(seconds: 1),
Base class for all bar chart widgets.
Implementation
const BarChart({
super.key,
required super.data,
required this.shape,
this.thickness = 20,
this.spacing,
this.mainAxisAlignment,
this.crossAxisAlignment,
this.duration = const Duration(milliseconds: 500),
this.curve = Curves.fastOutSlowIn,
this.delay = const Duration(seconds: 1),
});