CanvasPaint constructor
const
CanvasPaint({
- String? fill,
- CanvasImagePattern? pattern,
- String? stroke = '#111827',
- double lineWidth = 1,
- String font = '16px sans-serif',
Creates canvas paint settings.
Implementation
const CanvasPaint({
this.fill,
this.pattern,
this.stroke = '#111827',
this.lineWidth = 1,
this.font = '16px sans-serif',
});