Config constructor
const
Config({
- int columns = 7,
- double emojiSizeMax = 32.0,
- double verticalSpacing = 0,
- double horizontalSpacing = 0,
- EdgeInsets gridPadding = EdgeInsets.zero,
- 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,
- Color skinToneDialogBgColor = Colors.white,
- Color skinToneIndicatorColor = Colors.grey,
- bool enableSkinTones = true,
- bool showRecentsTab = true,
- int recentsLimit = 28,
- bool replaceEmojiOnLimitExceed = false,
- Widget noRecents = DefaultNoRecentsWidget,
- 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.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});