sketch_widget

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

sketch widget

sketch_widget #



Flutter widget to sketch widgets
Features #

Translate
Scale
Rotate
Visibility
Lock

Getting started #
dependencies:
sketch_widget: ^1.2.1
copied to clipboard
Usage #
SketchWidget(
sketch: {
2: {
Component.position: const Rect.fromLTWH(100, 100, 100, 100),
Component.widget: const ColoredBox(color: Colors.red),
Component.angle: pi / 2,
},
1: {
Component.position: const Rect.fromLTWH(150, 150, 200, 200),
Component.widget: Image.asset('images/ending_dash.png'),
Component.angle: pi / 4,
},
3: {
Component.position: const Rect.fromLTWH(200, 200, 50, 50),
Component.widget: const ColoredBox(color: Colors.blue),
Component.lock: true,
},
4: {
Component.position: const Rect.fromLTWH(250, 250, 50, 50),
Component.widget: const ColoredBox(color: Colors.yellow),
Component.visibility: false,
},
},
);
copied to clipboard

Additional information #
Feel free to give feedback.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.