DrawTriangle constructor

DrawTriangle(
  1. dynamic backgroundColor
)

Implementation

DrawTriangle(backgroundColor) {
  _paint = Paint()
    ..color = backgroundColor
    ..style = PaintingStyle.fill;
}