We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
its always showing "NO Recent", version using 0.1.0
The text was updated successfully, but these errors were encountered:
Hello, I finded a temporary solution for this issue.
like above: import 'package:emoji_picker/emoji_picker.dart' as emoji;
Create a GlobalKey: final key = new GlobalKey<State<emoji.EmojiPicker>>();
Final code like above:
Widget buildSticker() { picker = emoji.EmojiPicker( key: key, bgColor: ColorsConst.bg, indicatorColor: ColorsConst.primary, selectedCategory: emoji.Category.RECENT, rows: 3, columns: 7, buttonMode: emoji.ButtonMode.MATERIAL, recommendKeywords: [], numRecommended: 10, onEmojiSelected: (emoji, category) { (key.currentState as dynamic).addRecentEmoji(emoji); //createState().addRecentEmoji(emoji); }, ); return picker; }
Sorry, something went wrong.
Looking at the code the issue seems to be that recent emoji are only added within the recommended category https://github.com/JeffG05/emoji_picker/blob/master/lib/emoji_picker.dart#L576-L578
No branches or pull requests
its always showing "NO Recent", version using 0.1.0
The text was updated successfully, but these errors were encountered: