TripCurvePainter constructor
TripCurvePainter({ - required TripCurveData curveData,
- Color curveColor = Colors.blue,
- Color zoneColor = const Color(0x404CAF50),
- bool showGrid = true,
- Color backgroundColor = Colors.white,
- Color gridColor = const Color(0xFFE0E0E0),
- Color axisColor = Colors.black,
- Color textColor = Colors.black,
})
Implementation
TripCurvePainter({
required this.curveData,
this.curveColor = Colors.blue,
this.zoneColor = const Color(0x404CAF50),
this.showGrid = true,
this.backgroundColor = Colors.white,
this.gridColor = const Color(0xFFE0E0E0), // Colors.grey.shade300
this.axisColor = Colors.black,
this.textColor = Colors.black,
});