-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add config option to reorder items in emoji picker #215
feat: add config option to reorder items in emoji picker #215
Conversation
example/lib/main.dart
Outdated
itemsOrderConfig: const ItemsOrderConfig( | ||
top: EmojiPickerItem.categoryBar, | ||
middle: EmojiPickerItem.emojiView, | ||
bottom: EmojiPickerItem.searchBar, | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Might would use the term view
instead of item
, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
example/lib/main_whatsapp.dart
Outdated
itemsOrderConfig: const ItemsOrderConfig( | ||
top: EmojiPickerItem.categoryBar, | ||
middle: EmojiPickerItem.emojiView, | ||
bottom: EmojiPickerItem.searchBar, | ||
), | ||
emojiTextStyle: _textStyle, | ||
emojiViewConfig: const EmojiViewConfig( | ||
backgroundColor: Colors.white, | ||
), | ||
swapCategoryAndBottomBar: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating the ReadMe would be appreciated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Thank you for your PR - the code looks mostly good. I couldn't imagine that anyone would have the emoji view else where than in the middle, so I would be interested what has motivated you to make this change? |
c568b84
to
f3c3bd5
Compare
Hey @Fintasys, thanks for the review! As for the motivation behind this PR, it's because the design for an app I'm working on demanded this order - category view, search bar, emoji view. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.