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
|
- Support for free text selection
|
||||||
- Sleek M3 design:
|
- Sleek M3 design:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 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);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue