Config constructor

const Config({
  1. int columns = 7,
  2. double emojiSizeMax = 32.0,
  3. double verticalSpacing = 0,
  4. double horizontalSpacing = 0,
  5. Category initCategory = Category.RECENT,
  6. Color bgColor = const Color(0xFFEBEFF2),
  7. Color indicatorColor = Colors.blue,
  8. Color iconColor = Colors.grey,
  9. Color iconColorSelected = Colors.blue,
  10. Color progressIndicatorColor = Colors.blue,
  11. Color backspaceColor = Colors.blue,
  12. String? customEmojiFont,
  13. Color skinToneDialogBgColor = Colors.white,
  14. Color skinToneIndicatorColor = Colors.grey,
  15. bool enableSkinTones = true,
  16. bool showRecentsTab = true,
  17. int recentsLimit = 28,
  18. String noRecentsText = 'No Recents',
  19. TextStyle noRecentsStyle = const TextStyle(fontSize: 20, color: Colors.black26),
  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.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.customEmojiFont,
    this.skinToneDialogBgColor = Colors.white,
    this.skinToneIndicatorColor = Colors.grey,
    this.enableSkinTones = true,
    this.showRecentsTab = true,
    this.recentsLimit = 28,
    this.noRecentsText = 'No Recents',
    this.noRecentsStyle =
        const TextStyle(fontSize: 20, color: Colors.black26),
    this.tabIndicatorAnimDuration = kTabScrollDuration,
    this.categoryIcons = const CategoryIcons(),
    this.buttonMode = ButtonMode.MATERIAL});