CurvedChartPainter constructor
CurvedChartPainter({
- required List<
Map< xValues,String, double> > - required List<
Map< yValues,String, double> > - required double strokeWidth,
- Color? color,
- List<
Color> gradientColors = const [Color(0x00F63E02), Color(0xFFFFFFFF)], - List<
double> gradientStops = const [0.0, 1.0], - TextStyle labelTextStyle = const TextStyle(color: Colors.grey, fontSize: 12),
Implementation
CurvedChartPainter({
required this.xValues,
required this.yValues,
required this.strokeWidth,
this.color,
this.gradientColors = const [
Color(0x00F63E02),
Color(0xFFFFFFFF),
],
this.gradientStops = const [0.0, 1.0],
this.labelTextStyle = const TextStyle(color: Colors.grey, fontSize: 12),
});