Config constructor
const
Config({
- int columns = 7,
- double emojiSizeMax = 32.0,
- double verticalSpacing = 0,
- double horizontalSpacing = 0,
- Category initCategory = Category.RECENT,
- Color bgColor = const Color(0xFFEBEFF2),
- Color indicatorColor = Colors.blue,
- Color iconColor = Colors.grey,
- Color iconColorSelected = Colors.blue,
- Color progressIndicatorColor = Colors.blue,
- Color backspaceColor = Colors.blue,
- String? customEmojiFont,
- Color skinToneDialogBgColor = Colors.white,
- Color skinToneIndicatorColor = Colors.grey,
- bool enableSkinTones = true,
- bool showRecentsTab = true,
- int recentsLimit = 28,
- String noRecentsText = 'No Recents',
- TextStyle noRecentsStyle = const TextStyle(fontSize: 20, color: Colors.black26),
- Duration tabIndicatorAnimDuration = kTabScrollDuration,
- CategoryIcons categoryIcons = const CategoryIcons(),
- 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});