FanPiecePainter constructor

FanPiecePainter({
  1. required FanPiece fanPiece,
  2. double borderSize = 0,
})

FanPiecePainter is responsible to paint a piece of the fan on th the canvas It is used by FanPieceWidget to render FanPiece

Implementation

FanPiecePainter({
  required FanPiece fanPiece,
  this.borderSize = 0
}) :
      _fanPiece = fanPiece;