PESDK/Flutter/Guides/Stickers
Smart Stickers
The PhotoEditor SDK for Flutter provides predefined smart stickers
There are currently four predefined smart stickers available for the configuration.sticker
option:
- Weekday
- Date
- Time
- Time Clock
These smart stickers are part of the first default sticker category with the identifier "imgly_sticker_category_emoticons"
.
You can add the individual smart stickers as ExistingSticker
objects:
// Create [StickerOptions] to customize the sticker tool.final stickerOptions = StickerOptions(categories: [StickerCategory("custom", "Smart", "assets/custom_sticker_igor.png",items: [Sticker.existing("imgly_smart_sticker_weekday"),Sticker.existing("imgly_smart_sticker_date"),Sticker.existing("imgly_smart_sticker_time"),Sticker.existing("imgly_smart_sticker_time_clock")])]);// Create a [Configuration] instance to apply the customizations.final configuration = Configuration(sticker: stickerOptions);