TriangleShape constructor
TriangleShape(
- Color color
Constructor Expects color that the triangle will be filled with
Implementation
TriangleShape(Color color) {
_painter = Paint()
..color = color
..style = PaintingStyle.fill;
}