dash_chat_2 library
Classes
- ChatMedia Models
- ChatMessage Models
- ChatUser Models
- CursorStyle Customization
- DashChat Entry point
- DefaultAvatar
- DefaultDateSeparator
- DefaultMessageText
- DefaultQuickReply
- DefaultScrollToBottom
- DefaultTypingBuilder
- DefaultUserName
- InputOptions Customization
- InputToolbarState
- MatchText
- A MatchText class which provides a structure for ParsedText to handle Pattern matching and also to provide custom Function and custom TextStyle.
- MediaType
- Mention Models
- MessageListOptions Customization
- MessageListState
- MessageOptions Customization
- MessageStatus
- ParsedText
- Parse text and make them into multiple Flutter Text widgets
- QuickReply Models
- QuickReplyOptions Customization
- RegexOptions
- RegexOptions
- ScrollToBottomOptions Customization
- TypingIndicatorState
- VideoPlayerState
Enums
Constants
- emailPattern → const String
- Email Regex - A predefined type for handling email matching
- phonePattern → const String
- Phone Regex - A predefined type for handling phone matching
- urlPattern → const String
- URL Regex - A predefined type for handling URL matching
Properties
-
defaultParsePatterns
↔ List<
MatchText> -
{@category Default widgets}
getter/setter pair
-
defaultPersePatterns
↔ List<
MatchText> -
getter/setter pair
Functions
-
defaultInputDecoration(
{String hintText = 'Write a message...', TextStyle hintStyle = const TextStyle(color: Colors.grey), Color? fillColor}) → InputDecoration -
defaultMessageDecoration(
{required Color color, required double borderTopLeft, required double borderTopRight, required double borderBottomLeft, required double borderBottomRight}) → BoxDecoration -
defaultSendButton(
{required Color color, IconData icon = Icons.send, EdgeInsets? padding, bool disabled = false}) → Widget Function(Function send)