From 7024dbd0eaf39d32985e05df93a9d5bc4ebd84b2 Mon Sep 17 00:00:00 2001 From: Stefan Humm Date: Mon, 17 Oct 2022 13:53:20 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a0532a..19be55f 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,8 @@ See the [demo](https://github.com/Fintasys/emoji_picker_flutter/blob/master/exam | showRecentsTab | Show extra tab with recently used emoji | true | | recentsLimit | Limit of recently used emoji that will be saved | 28 | | replaceEmojiOnLimitExceed | Replace latest emoji on recents list on limit exceed | false -| noRecents | A widget (usually [Text]) to be displayed if no recent emojis to display | Text('No Recents', style: TextStyle(fontSize: 20, color: Colors.black26), textAlign: TextAlign.center) | -| loadingIndicator | A widget to display while emoji picker is initializing | SizedBox.shrink() | +| noRecents | A widget (usually [Text]) to be displayed if no recent emojis to display. Needs to be `const` Widget! | Text('No Recents', style: TextStyle(fontSize: 20, color: Colors.black26), textAlign: TextAlign.center) | +| loadingIndicator | A widget to display while emoji picker is initializing. Needs to be `const` Widget! | SizedBox.shrink() | | tabIndicatorAnimDuration | Duration of tab indicator to animate to next category | Duration(milliseconds: 300) | | categoryIcons | Determines the icon to display for each Category. You can change icons by setting them in the constructor. | CategoryIcons() | | buttonMode | Choose between Material and Cupertino button style | ButtonMode.MATERIAL |