SendMessageConfiguration class

Constructors

SendMessageConfiguration({TextFieldConfiguration? textFieldConfig, Color? textFieldBackgroundColor, ImagePickerIconsConfiguration? imagePickerIconsConfig, ImagePickerConfiguration? imagePickerConfiguration, Color? defaultSendButtonColor, Widget? sendButtonIcon, Color? replyDialogColor, Color? replyTitleColor, Color? replyMessageColor, Color? closeIconColor, bool allowRecordingVoice = true, bool enableCameraImagePicker = true, bool enableEmojiIcon = false, bool enableDocumentIcon = false, String? initialText = '', bool enableGalleryImagePicker = true, VoiceRecordingConfiguration? voiceRecordingConfiguration, Color? micIconColor, CancelRecordConfiguration? cancelRecordConfiguration, bool shouldSendImageWithText = false, Widget? removeImageIcon, Widget? emojiIconWidget, Widget? documentIconWidget, Color? removeImageIconColor, double? removeImageIconSize, EdgeInsets? selectedImageMargin, double? selectedImageViewHeight, double? imageBorderRadius, SelectedImageViewBuilder? selectedImageViewBuilder})
const

Properties

allowRecordingVoice bool
Enable/disable voice recording. Enabled by default.
final
cancelRecordConfiguration CancelRecordConfiguration?
Configuration for cancel voice recording
final
closeIconColor Color?
Used to give color to close icon in reply pop-up.
final
defaultSendButtonColor Color?
Used to give color to send button.
final
documentIconWidget Widget?
final
emojiIconWidget Widget?
final
enableCameraImagePicker bool
Enable/disable send image from camera. Enabled by default.
final
enableDocumentIcon bool
final
enableEmojiIcon bool
final
enableGalleryImagePicker bool
Enable/disable image picker from gallery. Enabled by default.
final
hashCode int
The hash code for this object.
no setterinherited
imageBorderRadius double?
Border radius of selected image in text field.
final
imagePickerConfiguration ImagePickerConfiguration?
Provides configuration of image picker plugin.
final
imagePickerIconsConfig ImagePickerIconsConfiguration?
Provides configuration of image picker functionality.
final
initialText String?
final
micIconColor Color?
Color of mic icon when replying to some voice message.
final
removeImageIcon Widget?
Icon to remove image from text field.
final
removeImageIconColor Color?
Color of remove image icon.
final
removeImageIconSize double?
Size of remove image icon.
final
replyDialogColor Color?
Used to give reply dialog color.
final
replyMessageColor Color?
Used to give color to reply message.
final
replyTitleColor Color?
Used to give color to title of reply pop-up.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedImageMargin EdgeInsets?
Margin around selected image in text field.
final
selectedImageViewBuilder SelectedImageViewBuilder?
Provides ability to build custom view for selected images in text field.
final
selectedImageViewHeight double?
Height of selected image view in text field.
final
sendButtonIcon Widget?
Provides ability to give custom send button.
final
shouldSendImageWithText bool
If true, then image will be sent with text message.
final
textFieldBackgroundColor Color?
Used to give background color to text field.
final
textFieldConfig TextFieldConfiguration?
Provides configuration of text field.
final
voiceRecordingConfiguration VoiceRecordingConfiguration?
Styling configuration for recorder widget.
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