draw_your_image 0.0.5 copy "draw_your_image: ^0.0.5" to clipboard
draw_your_image: ^0.0.5 copied to clipboard

outdated

A new Flutter package project.

draw_your_image #

draw_your_image is a Flutter package for drawing picture with fingers.

Demo #

Demo

Usage #

Basic #

The very first step for draw_your_image is to place Draw widget at anywhere you want in the widget tree.

@override
Widget build(BuildContext context) {
    return Draw(
        backgroundColor: Colors.blue.shade50,
        strokeColor: Colors.red,
        strokeWidth: 8,
    );
}

Crop widget would display a simple canvas which users can draw whatever they want with given strokeColor and strokeWidth.

If you change colors or width, you can simply manage states representing them in your widgets, maybe StatefulWidgets, and path it to the properties of Draw.

35
likes
0
pub points
79%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on draw_your_image