PainterDrawable constructor
PainterDrawable(})
Creates a drawable that paints with painter; width and height are its intrinsic size in pixels.
Implementation
PainterDrawable(this.painter, {required int width, required int height}) : _width = width, _height = height;