StreamMessageComposerReplyAttachmentProps class
Properties for configuring a StreamMessageComposerReplyAttachment.
This class holds all the configuration options for a reply preview, allowing them to be passed through the StreamComponentFactory.
See also:
- StreamMessageComposerReplyAttachment, which uses these properties.
- DefaultStreamMessageComposerReplyAttachment, the default implementation.
Constructors
- StreamMessageComposerReplyAttachmentProps({required Widget title, required Widget subtitle, Widget? thumbnail, VoidCallback? onRemovePressed, StreamReplyDirection direction = .incoming, StreamMessageComposerReplyAttachmentThemeData? style})
-
Creates properties for a reply preview attachment.
const
Properties
- direction → StreamReplyDirection
-
Selects direction-aware default colors for the background, indicator bar, and text.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onRemovePressed → VoidCallback?
-
Called when the remove button is tapped.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → StreamMessageComposerReplyAttachmentThemeData?
-
Per-instance style overrides.
final
- subtitle → Widget
-
The secondary label shown below title.
final
- thumbnail → Widget?
-
An optional thumbnail of the quoted attachment, rendered at the end of the preview row.
final
- title → Widget
-
The primary label shown on the first line.
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