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