flutter_painter_extensions library
The extensions of the Flutter Painter library.
From this library, you can access extensions that reduce the code size and make it easier to read.
Extensions
-
ImageProviderUiImageGetter
on ImageProvider<
Object> - Adds a method to get a ui.Image object from any ImageProvider.
- PaintCopy on Paint
- Extension to add a copy method for Paint.
- PainterControllerHelper on PainterController
- Adds extra getters and setters in PainterController to make it easier to use.
- UiImagePngUint8ListGetter on Image
-
Adds a method to convert any ui.Image to a Uint8List using
the
ui.ImageByteFormat.png
(png) format.