SparklinesChart constructor
const
SparklinesChart({
- Key? key,
- double? width,
- double? height,
- double? aspectRatio,
- IChartLayout layout = const AbsoluteLayout(),
- bool crop = false,
- ChartInsets padding = const ChartInsets(),
- Duration animationDuration = const Duration(milliseconds: 300),
- Curve animationCurve = Curves.easeInOut,
- bool animate = true,
- required List<
ISparklinesData> charts,
Implementation
const SparklinesChart({
super.key,
this.width,
this.height,
this.aspectRatio,
this.layout = const AbsoluteLayout(),
this.crop = false,
this.padding = const ChartInsets(),
this.animationDuration = const Duration(milliseconds: 300),
this.animationCurve = Curves.easeInOut,
this.animate = true,
required this.charts,
});