chat_ui/src/message_composer/widgets/widgets library
Barrel export file for message composer widgets.
This file exports all modular widget components extracted from the CometChatMessageComposer widget for better maintainability and reusability.
Classes
- AttachmentOptionsOverlay
- Displays attachment options in an overlay popup above the attachment button.
- AudioWaveformVisualizer
- A widget that displays an audio waveform visualization that responds to actual audio amplitude levels from the microphone.
- CancelRecording
- Event to cancel/delete recording
- CometChatInlineAudioRecorder
- An inline audio recorder widget that replaces the text input in the composer when recording audio. Shows a waveform visualization with recording controls.
- CometChatInlineAudioRecorderStyle
- Style configuration for the inline audio recorder
- CometChatMessageComposer
- CometChatMessageComposer component allows users to send messages and attachments to the chat, participating in the conversation.
- InlineAudioRecorderBloc
- BLoC for managing inline audio recorder state
- InlineAudioRecorderEvent
- Base class for all inline audio recorder events
- InlineAudioRecorderState
- State class for the inline audio recorder
- MessageComposerAuxiliaryButtons
- A widget that displays the auxiliary action buttons (stickers, voice recording).
- MessageComposerSecondaryButtons
- A widget that displays the secondary action button (attachment).
- MessageComposerSendButton
- A widget that displays the send button for the message composer.
- MessageComposerSuggestionList
- A widget that displays the suggestion list for mentions and other formatters.
- PausePlayback
- Event to pause playback
- PauseRecording
- Event to pause recording
- PlaybackCompleted
- Event when playback is completed
- PlayRecording
- Event to play the recorded audio
- RecordingCompleted
- Event when recording is completed with file path
- RecordingError
- Event when an error occurs
- ResetRecorder
- Event to reset the recorder to idle state
- ResumePlayback
- Event to resume playback from current position
- ResumeRecording
- Event to resume recording
- SeekToPosition
- Event to seek to a specific position during playback
- SetExtractedWaveform
- Event to set the extracted waveform from the audio file
- StartRecording
- Event to start recording
- StopRecording
- Event to stop recording
- UpdateAmplitude
- Event to update amplitude for waveform visualization
- UpdateDuration
- Event to update the recording duration
- UpdatePlaybackPosition
- Event to update the playback position
Enums
- InlineAudioRecorderStatus
- Enum representing the different states of the inline audio recorder