fixup readme

This commit is contained in:
Henry Hiles 2026-09-16 14:44:31 -04:00
commit ce0c2160cc
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -7,7 +7,7 @@ A generic but configurable emoji picker for Flutter. Defaults to including only
- Support for free text selection - Support for free text selection
- Sleek M3 design: - Sleek M3 design:
![A screenshot of the emoji picker, showing a searchbar, category selection, and two categories of emojis](assets/screenshot.png) ![A screenshot of the emoji picker, showing a searchbar, category selection, and two categories of emojis](https://git.federated.nexus/Henry-Hiles/material_emoji_picker/raw/branch/main/assets/screenshot.png)
## Getting started ## Getting started
@ -21,14 +21,14 @@ An example, using `EmojiPicker` as a bottom sheet:
```dart ```dart
showModalBottomSheet( showModalBottomSheet(
isScrollControlled: true, isScrollControlled: true,
context: context, context: context,
builder: (context) => EmojiPicker( builder: (context) => EmojiPicker(
onSelection: (emoji) { onSelection: (emoji) {
Navigator.of(context).pop(); Navigator.of(context).pop();
message.sendReaction(emoji); message.sendReaction(emoji);
}, },
), ),
); );
``` ```