chatview library
Classes
- BackspaceButton
- Backspace Button Widget
- BottomActionBar
- Template class for custom implementation
- BottomActionBarConfig
- Bottom Action Bar Config
- CancelRecordConfiguration
- CategoryEmoji
- Container for Category and their emoji
- CategoryIcon
- Class that defines the icon representing a Category
- CategoryIcons
- Class used to define all the CategoryIcon shown for each Category
- CategoryView
- Template class for custom implementation Inhert this class to create your own Category view
- CategoryViewConfig
- Category view Config
-
CategoryViewState<
T extends CategoryView> - Template class for custom implementation Inhert this class to create your own category view state
- ChatBackgroundConfiguration
- ChatBubble
- ChatBubbleConfiguration
- ChatController
- ChatUser
- ChatView
- ChatViewAppBar
- ChatViewStateConfiguration
- ChatViewStateWidgetConfiguration
- Config
- Config for customizations
- DefaultBottomActionBar
- Default Bottom Action Bar implementation
- DefaultCategoryTabBar
- Default category tab bar
- DefaultCategoryView
- Default category view
- DefaultCategoryViewState
- Default Category View State
- DefaultEmojiPickerView
- Default EmojiPicker Implementation
- DefaultGroupSeparatorConfiguration
- DefaultSearchView
- Default Search implementation
- DefaultSearchViewState
- Default Search View State
- Emoji
- A class to store data for each individual emoji
- EmojiCell
- A widget that represents an individual clickable emoji cell. Can have a long pressed listener onSkinToneDialogRequested that provides necessary data to show a skin tone popup.
- EmojiConfiguration
- EmojiContainer
-
A wrapper around a grid or list of emojis.
If the button style is Cupertino or None, this is just wrapping the
child
with a container of a provided color. For Material style it is aMaterial
widget that allows to render touch response for individual InkWell cells. - EmojiMessageConfiguration
- EmojiPicker
- The Emoji Keyboard widget
- EmojiPickerState
- EmojiPickerState
- EmojiPickerUtils
- Helper class that provides extended usage
- EmojiPickerView
- Template class for custom implementation Inhert this class to create your own EmojiPicker
- EmojiTextEditingController
- Text editing controller that produces text spans on the fly for setting a particular style to emoji characters.
- EmojiViewConfig
- Emoji View Config
- EmojiViewState
- State that holds current emoji data
- FeatureActiveConfig
- GlassMorphismConfiguration
- ImageMessageConfiguration
- ImagePickerConfiguration
- ImagePickerIconsConfiguration
- LinkPreviewConfiguration
- Message
- MessageConfiguration
- MessageReactionConfiguration
- PlayerWaveStyle
- ProfileCircleConfiguration
- Reaction
- ReactionPopupConfiguration
- ReactionsBottomSheetConfiguration
- ReceiptsWidgetConfig
- RecentEmoji
- Class that holds an recent emoji Recent Emoji has an instance of the emoji And a counter, which counts how often this emoji has been used before
- RepliedMessageConfiguration
- RepliedMsgAutoScrollConfig
- ReplyMessage
- ReplyPopupConfiguration
- ReplySuggestionsConfig
- ScrollToBottomButtonConfig
- Configuration for the "Scroll to Bottom" button.
- SearchView
- Template class for custom implementation Inhert this class to create your own search view
- SearchViewConfig
- Search view Config
-
SearchViewState<
T extends SearchView> - Template class for custom implementation Inhert this class to create your own search view state
- SendMessageConfiguration
- SkinTone
- Alternative skin tones of Emoji
- SkinToneConfig
- Skin tone config Config
- SuggestionItemConfig
- SuggestionItemData
- SuggestionListConfig
- SwipeToReplyConfiguration
- TextFieldConfiguration
- TriangleDecoration
- Decoration that can be used to render a triangle in the bottom-right corner of a container
- TypeIndicatorConfiguration
- VoiceRecordingConfiguration
- WaveStyle
Enums
- AndroidEncoder
- Android encoders.
- AndroidOutputFormat
- Android output format.
- ButtonMode
- Enum to alter the keyboard button style
- Category
- All the possible categories that Emoji can be put into
- ChatViewState
- Types of states
- GroupedListOrder
- ImageType
- IosEncoder
- IOS encoders.
- MessageStatus
- MessageStatus defines the current state of the message if you are sender sending a message then, the
- MessageType
- RecentTabBehavior
- Behavior of Recent Tab
- ScrollButtonAlignment
- ShowReceiptsIn
- SuggestionListAlignment
- TypeWriterStatus
- Events, Wheter the user is still typing a message or has typed the message
Mixins
-
SkinToneOverlayStateMixin<
T extends StatefulWidget> - Skin tone overlay mixin
Extensions
- CategoryExtension on Category
- Extension on Category enum to get its name
- ChatViewStateExtension on ChatViewState
- GroupedListOrderExtension on GroupedListOrder
- MessageTypes on MessageType
- Extension on MessageType for checking specific message type
Constants
-
defaultEmojiSet
→ const List<
CategoryEmoji> - List of categories of emojis
- DefaultEmojiTextStyle → const TextStyle
- Emoji text style providing commonly available fallback fonts
- DefaultNoRecentsWidget → const Text
- Default Widget if no recent is available
- delimiter → const String
- Default delimiter for regex
- EmojiRegex → const String
-
Emoji Regex
Keycap Sequence '((\u0023|\u002a|
\u0030-\u0039
)\ufe0f\u20e3){1}' Issue: https://github.com/flutter/flutter/issues/36062 - kSkinToneCount → const int
- Number of skin tone icons
Functions
-
getIconForCategory(
CategoryIcons categoryIcons, Category category) → IconData - Returns the icon for the category
Typedefs
- AssetImageErrorBuilder = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)
- BottomActionBarBuilder = Widget Function(Config config, EmojiViewState state, VoidCallback showSearchView)
- Callback function for custom bottom action bar
- CategoryViewBuilder = Widget Function(Config config, EmojiViewState state, TabController tabController, PageController pageController)
- Callback function for custom category view
- CustomMessageReplyViewBuilder = Widget Function(ReplyMessage state)
- customMessageType view for a reply of custom message type
- CustomViewForReplyMessage = Widget Function(BuildContext context, ReplyMessage state)
- customView for replying to any message
- DoubleCallBack = void Function(double, double)
- DragUpdateDetailsCallback = void Function(DragUpdateDetails)
- EmojiViewBuilder = Widget Function(Config config, EmojiViewState state, VoidCallback showSearchBar)
- Callback function for custom view
-
GetMessageSeparator
= (Map<
int, DateTime> , DateTime) - MessageCallBack = void Function(Message message)
- MessageSorter = int Function(Message message1, Message message2)
- MoreTapCallBack = void Function(Message message, bool sentByCurrentUser)
- NetworkImageErrorBuilder = Widget Function(BuildContext context, String url, Object error)
- NetworkImageProgressIndicatorBuilder = Widget Function(BuildContext context, String url, DownloadProgress progress)
- OnBackspaceLongPressed = void Function()
- Callback function for backspace button when long pressed
- OnBackspacePressed = void Function()
- Callback function for backspace button
- OnEmojiSelected = void Function(Category? category, Emoji emoji)
- Callback function for when emoji is selected
- OnSkinToneDialogRequested = void Function(Offset emojiBoxPosition, Emoji emoji, double emojiSize, CategoryEmoji? categoryEmoji)
- Callback from emoji cell to show a skin tone selection overlay
- ReactedUserCallback = void Function(ChatUser reactedUser, String reaction)
- ReactionCallback = void Function(Message message, String emoji)
- ReplyMessageCallBack = void Function(ReplyMessage replyMessage)
- ReplyMessageWithReturnWidget = Widget Function(ReplyMessage? replyMessage)
- SearchViewBuilder = Widget Function(Config config, EmojiViewState state, VoidCallback showEmojiView)
- Callback function for custom search view
- StringCallback = void Function(String)
- StringMessageCallBack = void Function(String message, ReplyMessage replyMessage, MessageType messageType)
- StringsCallBack = void Function(String emoji, String messageId)
- StringWithReturnWidget = Widget Function(String separator)
- SuggestionItemBuilder = Widget Function(int index, SuggestionItemData suggestionItemData)
- VoidCallBack = void Function()
-
VoidCallBackWithFuture
= Future<
void> Function()