fixup readme
This commit is contained in:
parent
f053f85d95
commit
ce0c2160cc
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
|
@ -7,7 +7,7 @@ A generic but configurable emoji picker for Flutter. Defaults to including only
|
|||
- Support for free text selection
|
||||
- Sleek M3 design:
|
||||
|
||||

|
||||

|
||||
|
||||
## Getting started
|
||||
|
||||
|
|
@ -21,14 +21,14 @@ An example, using `EmojiPicker` as a bottom sheet:
|
|||
|
||||
```dart
|
||||
showModalBottomSheet(
|
||||
isScrollControlled: true,
|
||||
context: context,
|
||||
builder: (context) => EmojiPicker(
|
||||
onSelection: (emoji) {
|
||||
Navigator.of(context).pop();
|
||||
message.sendReaction(emoji);
|
||||
},
|
||||
),
|
||||
isScrollControlled: true,
|
||||
context: context,
|
||||
builder: (context) => EmojiPicker(
|
||||
onSelection: (emoji) {
|
||||
Navigator.of(context).pop();
|
||||
message.sendReaction(emoji);
|
||||
},
|
||||
),
|
||||
);
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue