bump to 1.2.0

This commit is contained in:
Henry Hiles 2026-09-28 14:38:27 -04:00
commit fa673a9038
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 6 additions and 2 deletions

View file

@ -32,3 +32,7 @@ Wait for end of frame before highlighting categories, fixing an issue where cate
## 1.1.2 ## 1.1.2
Make search case-insensitive. Make search case-insensitive.
## 1.2.0
Add `isFreeText` to `onSelection` callback, useful for recording only recent emojis and not text reactions.

View file

@ -27,7 +27,7 @@ showModalBottomSheet(
isScrollControlled: true, isScrollControlled: true,
context: context, context: context,
builder: (context) => EmojiPicker( builder: (context) => EmojiPicker(
onSelection: (emoji) { onSelection: (emoji, isFreeText) {
Navigator.of(context).pop(); Navigator.of(context).pop();
message.sendReaction(emoji); message.sendReaction(emoji);
}, },

View file

@ -1,6 +1,6 @@
name: material_emoji_picker name: material_emoji_picker
description: A generic but configurable emoji picker for Flutter description: A generic but configurable emoji picker for Flutter
version: 1.1.2 version: 1.2.0
repository: https://git.federated.nexus/Henry-Hiles/material_emoji_picker repository: https://git.federated.nexus/Henry-Hiles/material_emoji_picker
issue_tracker: https://git.federated.nexus/Henry-Hiles/material_emoji_picker/issues issue_tracker: https://git.federated.nexus/Henry-Hiles/material_emoji_picker/issues