EmojiEditorConfigs class
Configuration options for an emoji editor.
EmojiEditorConfigs
allows you to define various settings for an emoji
editor. You can configure features like enabling/disabling the editor,
setting the initial scale, defining behavior for the recent tab, enabling
skin tones, customizing text style, and more.
Example usage:
EmojiEditorConfigs(
enabled: true,
initScale: 5.0,
checkPlatformCompatibility: true,
emojiSet: customEmojiSet,
);
Constructors
-
EmojiEditorConfigs({bool enabled = true, double initScale = 5.0, double minScale = double.negativeInfinity, double maxScale = double.infinity, bool checkPlatformCompatibility = true, List<
CategoryEmoji> emojiSet = defaultEmojiSet}) -
Creates an instance of EmojiEditorConfigs with optional settings.
const
Properties
- checkPlatformCompatibility → bool
-
Verify that emoji glyph is supported by the platform (Android only)
final
-
emojiSet
→ List<
CategoryEmoji> -
Custom emojis; if set, overrides default emojis provided by the library.
final
- enabled → bool
-
Indicates whether the emoji editor is enabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initScale → double
-
The initial scale for displaying emojis.
final
- maxScale → double
-
The maximum scale factor from the layer.
final
- minScale → double
-
The minimum scale factor from the layer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited