EmojiEditorConfigs constructor

const EmojiEditorConfigs({
  1. bool enabled = true,
  2. double initScale = 5.0,
  3. bool checkPlatformCompatibility = true,
  4. List<CategoryEmoji> emojiSet = defaultEmojiSet,
})

Creates an instance of EmojiEditorConfigs with optional settings.

By default, the editor is enabled, and other properties are set to reasonable defaults.

Implementation

const EmojiEditorConfigs({
  this.enabled = true,
  this.initScale = 5.0,
  this.checkPlatformCompatibility = true,
  this.emojiSet = defaultEmojiSet,
}) : assert(initScale > 0, 'initScale must be positive');