StreamMessageComposerEditMessageAttachmentProps class

Properties for configuring a StreamMessageComposerEditMessageAttachment.

This class holds all the configuration options for an edit-message preview, allowing them to be passed through the StreamComponentFactory.

See also:

Constructors

StreamMessageComposerEditMessageAttachmentProps({required Widget title, required Widget subtitle, Widget? thumbnail, VoidCallback? onRemovePressed, StreamMessageComposerEditMessageAttachmentThemeData? style})
Creates properties for an edit-message preview attachment.
const

Properties

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 → StreamMessageComposerEditMessageAttachmentThemeData?
Per-instance style overrides.
final
subtitle → Widget
The secondary label shown below title.
final
thumbnail → Widget?
An optional thumbnail of the attached media, 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