drawing_widget 0.0.3 copy "drawing_widget: ^0.0.3" to clipboard
drawing_widget: ^0.0.3 copied to clipboard

Drawing 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 _points = [];

DrawingWidget(
 points: _points,
 strokeColor: Colors.black,
 strokeValue: 2,
 drawing: true,
 onUpdate: (value) {
 points = value;
 },
)

Additional information #

Don't hesitate to contribute or to contact me if needed.