initStarPaint method
void
initStarPaint()
Initializes the star Paint.
Implementation
void initStarPaint() {
starPaint = Paint()
..color = starColor
..strokeCap = StrokeCap.square
..style = PaintingStyle.fill;
}