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. Duration animationDuration = const Duration(milliseconds: 300),
  8. Curve animationCurve = Curves.easeInOut,
  9. bool animate = true,
  10. required List<ISparklinesData> charts,
})

Implementation

const SparklinesChart({
  super.key,
  this.width,
  this.height,
  this.aspectRatio,
  this.layout = const AbsoluteLayout(),
  this.crop = false,
  this.animationDuration = const Duration(milliseconds: 300),
  this.animationCurve = Curves.easeInOut,
  this.animate = true,
  required this.charts,
});