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

Drawing Widget.

Light widget make some drawing.

Features #

  • Drawing & display mode.
  • Change color.
  • Change stroke value.
  • Adaptative size.

Usage #

Change drawing value 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.