HalfPainter constructor

HalfPainter(
  1. Color paintColor,
  2. double? height, {
  3. double outline = 10,
})

Creates a HalfPainter.

paintColor defines the color of the arc. height defines the height of the arc portion. outline defines the thickness of the border/outline.

Implementation

HalfPainter(this.paintColor, this.height, {this.outline = 10}) {
  arcPaint = Paint()..color = paintColor;
}