DashBoardPainter constructor

DashBoardPainter({
  1. double value = 0,
  2. Color rightColor = Colors.pink,
  3. Color leftColor = Colors.blue,
  4. double strokeWidth = 1,
  5. String label = '指标名称',
})

Implementation

DashBoardPainter(
    {this.value = 0,
    this.rightColor = Colors.pink,
    this.leftColor = Colors.blue,
    this.strokeWidth = 1,
    this.label = '指标名称'});