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