DrawStar constructor
DrawStar({
- Color backgroundColor = Colors.black,
Implementation
DrawStar({this.backgroundColor = Colors.black}) {
painter = Paint()
..color = this.backgroundColor
..style = PaintingStyle.fill;
}