SparklinesChart constructor

const SparklinesChart({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. double? aspectRatio,
  5. IChartLayout layout = const AbsoluteLayout(),
  6. bool crop = false,
  7. ChartInsets padding = const ChartInsets(),
  8. Duration animationDuration = const Duration(milliseconds: 300),
  9. Curve animationCurve = Curves.easeInOut,
  10. bool animate = true,
  11. 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,
});