EmojiViewState class

State that holds current emoji data

Constructors

EmojiViewState(List<CategoryEmoji> categoryEmoji, OnEmojiSelected onEmojiSelected, OnBackspacePressed? onBackspacePressed, OnBackspaceLongPressed onBackspaceLongPressed, VoidCallback onShowSearchView, OnCategoryChanged? onCategoryChanged, {Category? currentCategory})
Constructor

Properties

categoryEmoji → List<CategoryEmoji>
List of all category including their emoji
final
categoryNavigationNotifier → ValueNotifier<Category?>
Notifier for programmatic category changes from controller When this changes, the tabbar should navigate to the new category without rebuilding the entire widget
final
currentCategory → Category?
Current category from controller (if available) Used to override the config's initCategory
final
hashCode → int
The hash code for this object.
no setterinherited
onBackspaceLongPressed → OnBackspaceLongPressed
Callback when long pressed on backspace
final
onBackspacePressed → OnBackspacePressed?
Callback when pressed on backspace
final
onCategoryChanged → OnCategoryChanged?
Callback when category tab changes
final
onEmojiSelected → OnEmojiSelected
Callback when pressed on emoji
final
onShowSearchView → OnBackspaceLongPressed
Callback when pressed on search
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