EmojiViewConfig constructor

const EmojiViewConfig({
  1. int columns = 10,
  2. double emojiSizeMax = 28.0,
  3. Color backgroundColor = const Color(0xFFEBEFF2),
  4. double verticalSpacing = 0,
  5. double horizontalSpacing = 0,
  6. EdgeInsets gridPadding = EdgeInsets.zero,
  7. int recentsLimit = 28,
  8. bool replaceEmojiOnLimitExceed = false,
  9. Widget noRecents = DefaultNoRecentsWidget,
  10. Widget loadingIndicator = const SizedBox.shrink(),
  11. ButtonMode buttonMode = ButtonMode.MATERIAL,
})

Constructor

Implementation

const EmojiViewConfig({
  this.columns = 10,
  this.emojiSizeMax = 28.0,
  this.backgroundColor = const Color(0xFFEBEFF2),
  this.verticalSpacing = 0,
  this.horizontalSpacing = 0,
  this.gridPadding = EdgeInsets.zero,
  this.recentsLimit = 28,
  this.replaceEmojiOnLimitExceed = false,
  this.noRecents = DefaultNoRecentsWidget,
  this.loadingIndicator = const SizedBox.shrink(),
  this.buttonMode = ButtonMode.MATERIAL,
});