drawing_widget 0.0.5 drawing_widget: ^0.0.5 copied to clipboard
Easily add professional-quality drawing capabilities to your app with our customizable widget.
Light widget to make some drawing.
Features #
- Drawing & displaying mode.
- Change color.
- Change stroke value.
- Adaptative size.
Usage #
Change drawing property to ether start drawing or display a drawing.
final _drawing = Drawing(
strokeColor: Colors.black,
strokeValue: 2,
isDrawing: true,
);
DrawingWidget(
drawing: _drawing,
onUpdate: (value) {
// do some job if needed
},
)
Additional information #
Don't hesitate to contribute or to contact me if needed.