UiPaint.fill constructor
UiPaint.fill({
- int? color,
Creates a new paint object for filling paths.
Implementation
UiPaint.fill({int? color}) : _paint = ui.Paint()..style = ui.PaintingStyle.fill {
if (color != null) _paint.color = Color(color);
}