GradientLineGraphView constructor

GradientLineGraphView({
  1. Key? key,
  2. required double max,
  3. required double min,
  4. required double value,
  5. required double precentage,
  6. Color color = Colors.blue,
  7. double lineThickness = 2,
  8. Duration duration = const Duration(milliseconds: 200),
  9. Gradient? gradient,
})

Implementation

GradientLineGraphView(
    {Key? key,
    required this.max,
    required this.min,
    required this.value,
    required this.precentage,
    this.color = Colors.blue,
    this.lineThickness = 2,
    this.duration = const Duration(milliseconds: 200),
    this.gradient})
    : super(key: key);