lindi_sticker_widget

Last updated:

0 purchases

lindi_sticker_widget Image
lindi_sticker_widget Images
Add to Cart

Description:

lindi sticker widget

lindi_sticker_widget #
Features #
Rotate
Resize
Move
Layer Update (Change Stack position)
Delete
Flip
Lock


Getting started #
This plugin is available on Pub: https://pub.dev/packages/lindi_sticker_widget
Add this to dependencies in your app's pubspec.yaml
lindi_sticker_widget : latest_version
copied to clipboard
Usage #
Sample code to integrate can be found in example/lib/main.dart.
LindiController
LindiController controller = LindiController();
copied to clipboard
Custom LindiController
LindiController controller = LindiController(
borderColor: Colors.white,
iconColor: Colors.black,
showDone: true,
showClose: true,
showFlip: true,
showStack: true,
showLock: true,
showAllBorders: true,
shouldScale: true,
shouldRotate: true,
shouldMove: true,
minScale: 0.5,
maxScale: 4,
);
copied to clipboard
Integrate LindiStickerWidget
LindiStickerWidget(
controller: controller,
child: SizedBox(
width: double.infinity,
height: double.infinity,
child: Image.network('https://picsum.photos/200/300', fit: BoxFit.cover)
),
)
copied to clipboard
Add Widget to LindiStickerWidget
controller.addWidget(
Text('Hello World')
);
copied to clipboard
Get index of selected widget
controller.selectedIndex.stream.listen((int index) {
print(index);
});
copied to clipboard
Update widget
controller.widgets[index].updateWidget(const Text('Hello'));
copied to clipboard
Save LindiStickerWidget as Uint8List
Uint8List? image = await controller.saveAsUint8List();
copied to clipboard
Screenshot #


❤️ Found this project useful? #
If you found this project useful, then please consider giving it a ⭐ on Github and sharing it with your friends via social media.

License:

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

Customer Reviews

There are no reviews.