TabContext constructor

TabContext({
  1. Color backgroundColor = _transparent,
  2. required Color chartColor,
  3. required Color labelTextColor,
  4. required Color noteLabelColor,
  5. required Color noteShapeColor,
  6. required Color techniqueColor,
})

Implementation

TabContext({
  this.backgroundColor = _transparent,
  required Color chartColor,
  required this.labelTextColor,
  required Color noteLabelColor,
  required Color noteShapeColor,
  required Color techniqueColor,
}) : chartFillPaint = Paint()
       ..color = chartColor
       ..style = PaintingStyle.fill,
     chartStrokePaint = Paint()
       ..color = chartColor
       ..strokeWidth = 1
       ..style = PaintingStyle.stroke,
     noteLabelPaint = Paint()
       ..color = noteLabelColor
       ..strokeWidth = 2
       ..style = PaintingStyle.stroke,
     noteShapePaint = Paint()
       ..color = noteShapeColor
       ..style = PaintingStyle.fill,
     techniquePaint = Paint()
       ..color = techniqueColor
       ..strokeWidth = 2
       ..style = PaintingStyle.stroke;