DrawRectangle constructor
DrawRectangle(
- Color color
Implementation
DrawRectangle(Color color)
: _paint = Paint()
..color = color
..style = PaintingStyle.fill;
DrawRectangle(Color color)
: _paint = Paint()
..color = color
..style = PaintingStyle.fill;