EmojiEditorTheme class

The EmojiEditorTheme class defines the theme for the emoji editor in the image editor.

Usage:

EmojiEditorTheme emojiEditorTheme = EmojiEditorTheme();

Constructors

EmojiEditorTheme({EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder, Color backgroundColor = const Color(0xFF121B22), Duration scrollToDuration = Duration.zero, ThemeDraggableSheet themeDraggableSheet = const ThemeDraggableSheet(minChildSize: 0.4, maxChildSize: 0.4, initialChildSize: 0.4), bool showDragHandle = true, BottomActionBarConfig bottomActionBarConfig = const BottomActionBarConfig(buttonIconColor: imageEditorTextColor, backgroundColor: Color(0xFF121B22), buttonColor: Color(0xFF121B22), showBackspaceButton: false), SkinToneConfig skinToneConfig = const SkinToneConfig(enabled: true, dialogBackgroundColor: Color(0xFF252728), indicatorColor: Color(0xFF9E9E9E)), SearchViewConfig? searchViewConfig, CategoryViewConfig? categoryViewConfig, EmojiViewConfig? emojiViewConfig, TextStyle textStyle = DefaultEmojiTextStyle, bool swapCategoryAndBottomBar = true, EdgeInsets categoryTitlePadding = const EdgeInsets.only(left: 10), TextStyle categoryTitleStyle = const TextStyle(color: Color(0xFF86959C), fontWeight: FontWeight.w500, fontSize: 14)})
Creates an instance of the EmojiEditorTheme class with the specified theme properties.
const

Properties

backgroundColor Color
Background color for the emoji editor.
final
bottomActionBarConfig BottomActionBarConfig
Configuration for the bottom action bar.
final
categoryTitlePadding EdgeInsets
Padding for the category title.
final
categoryTitleStyle TextStyle
Text style for the category title.
final
categoryViewConfig CategoryViewConfig?
Configuration for the category view.
final
editorBoxConstraintsBuilder EditorBoxConstraintsBuilder?
Use this to build custom BoxConstraints that will be applied to the modal bottom sheet displaying the EmojiEditor.
final
emojiViewConfig EmojiViewConfig?
Configuration for the emoji view.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollToDuration Duration
Duration for the scroll animation.
final
searchViewConfig SearchViewConfig?
Configuration for the search view.
final
showDragHandle bool
Specifies whether a drag handle is shown on the bottom sheet.
final
skinToneConfig SkinToneConfig
Configuration for the skin tone.
final
swapCategoryAndBottomBar bool
Determines whether to swap the positions of the category view and the bottom action bar.
final
textStyle TextStyle
Custom emoji text style to apply to emoji characters in the grid.
final
themeDraggableSheet ThemeDraggableSheet
Configuration settings for the draggable bottom sheet component.
final

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