Config constructor

const Config({
  1. int columns = 7,
  2. double emojiSizeMax = 32.0,
  3. double verticalSpacing = 0,
  4. double horizontalSpacing = 0,
  5. EdgeInsets gridPadding = EdgeInsets.zero,
  6. Category initCategory = Category.RECENT,
  7. Color bgColor = const Color(0xFFEBEFF2),
  8. Color indicatorColor = Colors.blue,
  9. Color iconColor = Colors.grey,
  10. Color iconColorSelected = Colors.blue,
  11. Color progressIndicatorColor = Colors.blue,
  12. Color backspaceColor = Colors.blue,
  13. Color skinToneDialogBgColor = Colors.white,
  14. Color skinToneIndicatorColor = Colors.grey,
  15. bool enableSkinTones = true,
  16. bool showRecentsTab = true,
  17. int recentsLimit = 28,
  18. bool replaceEmojiOnLimitExceed = false,
  19. Widget noRecents = DefaultNoRecentsWidget,
  20. Duration tabIndicatorAnimDuration = kTabScrollDuration,
  21. CategoryIcons categoryIcons = const CategoryIcons(),
  22. ButtonMode buttonMode = ButtonMode.MATERIAL,
})

Constructor

Implementation

const Config(
    {this.columns = 7,
    this.emojiSizeMax = 32.0,
    this.verticalSpacing = 0,
    this.horizontalSpacing = 0,
    this.gridPadding = EdgeInsets.zero,
    this.initCategory = Category.RECENT,
    this.bgColor = const Color(0xFFEBEFF2),
    this.indicatorColor = Colors.blue,
    this.iconColor = Colors.grey,
    this.iconColorSelected = Colors.blue,
    this.progressIndicatorColor = Colors.blue,
    this.backspaceColor = Colors.blue,
    this.skinToneDialogBgColor = Colors.white,
    this.skinToneIndicatorColor = Colors.grey,
    this.enableSkinTones = true,
    this.showRecentsTab = true,
    this.recentsLimit = 28,
    this.replaceEmojiOnLimitExceed = false,
    this.noRecents = DefaultNoRecentsWidget,
    this.tabIndicatorAnimDuration = kTabScrollDuration,
    this.categoryIcons = const CategoryIcons(),
    this.buttonMode = ButtonMode.MATERIAL});