StreamMessageComposerReplyAttachmentThemeData class

Theme data for customizing StreamMessageComposerReplyAttachment widgets.

Descendant widgets obtain their values from StreamMessageComposerReplyAttachmentTheme.of. All properties are null by default, with direction-aware fallback values applied by DefaultStreamMessageComposerReplyAttachment based on the widget's StreamReplyDirection (incoming or outgoing).

{@tool snippet}

Customize reply attachment styling globally via StreamTheme:

StreamTheme(
  messageComposerReplyAttachmentTheme:
      StreamMessageComposerReplyAttachmentThemeData(
    indicatorColor: Colors.green,
  ),
)

{@end-tool}

See also:

Annotations

Constructors

StreamMessageComposerReplyAttachmentThemeData({Color? backgroundColor, Color? indicatorColor, TextStyle? titleTextStyle, TextStyle? subtitleTextStyle, EdgeInsetsGeometry? padding, OutlinedBorder? thumbnailShape, BorderSide? thumbnailSide, Size? thumbnailSize})
Creates composer reply attachment theme data with optional overrides.
const

Properties

backgroundColor Color?
Background fill color of the reply preview card.
final
canMerge bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
indicatorColor Color?
Color of the leading indicator bar.
final
padding EdgeInsetsGeometry?
Padding around the reply preview's content row.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitleTextStyle TextStyle?
Text style for the reply subtitle (the quoted message preview).
final
thumbnailShape OutlinedBorder?
Outer shape of the trailing thumbnail.
final
thumbnailSide BorderSide?
Border side drawn around the trailing thumbnail.
final
thumbnailSize Size?
Dimensions of the trailing thumbnail.
final
titleTextStyle TextStyle?
Text style for the reply title (typically the quoted user's name).
final

Methods

copyWith({Color? backgroundColor, Color? indicatorColor, TextStyle? titleTextStyle, TextStyle? subtitleTextStyle, EdgeInsetsGeometry? padding, OutlinedBorder? thumbnailShape, BorderSide? thumbnailSide, Size? thumbnailSize}) StreamMessageComposerReplyAttachmentThemeData
inherited
merge(StreamMessageComposerReplyAttachmentThemeData? other) StreamMessageComposerReplyAttachmentThemeData
inherited
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