TripCurvePainter constructor

TripCurvePainter({
  1. required TripCurveData curveData,
  2. Color curveColor = Colors.blue,
  3. Color zoneColor = const Color(0x404CAF50),
  4. bool showGrid = true,
  5. Color backgroundColor = Colors.white,
  6. Color gridColor = const Color(0xFFE0E0E0),
  7. Color axisColor = Colors.black,
  8. 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,
});