StreamMessageThemeData class

Class for getting message theme

Mixed in types

Constructors

StreamMessageThemeData({TextStyle? repliesStyle, TextStyle? messageTextStyle, TextStyle? messageAuthorStyle, TextStyle? messageLinksStyle, Color? messageBackgroundColor, Color? messageBorderColor, Color? reactionsBackgroundColor, Color? reactionsBorderColor, Color? reactionsMaskColor, StreamAvatarThemeData? avatarTheme, TextStyle? createdAtStyle, Color? urlAttachmentBackgroundColor, TextStyle? urlAttachmentHostStyle, TextStyle? urlAttachmentTitleStyle, TextStyle? urlAttachmentTextStyle, int? urlAttachmentTitleMaxLine, int? urlAttachmentTextMaxLine})
Creates a StreamMessageThemeData.
const

Properties

avatarTheme StreamAvatarThemeData?
Theme of the avatar
final
createdAtStyle TextStyle?
Text style for created at text
final
hashCode int
The hash code for this object.
no setteroverride
messageAuthorStyle TextStyle?
Text style for message author
final
messageBackgroundColor Color?
Color for messageBackgroundColor
final
messageBorderColor Color?
Color for message border color
final
messageLinksStyle TextStyle?
Text style for message links
final
messageTextStyle TextStyle?
Text style for message text
final
reactionsBackgroundColor Color?
Color for reactions
final
reactionsBorderColor Color?
Colors reaction border
final
reactionsMaskColor Color?
Color for reaction mask
final
repliesStyle TextStyle?
Text style for replies
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urlAttachmentBackgroundColor Color?
Background color for messages with url attachments.
final
urlAttachmentHostStyle TextStyle?
Color for url attachment host.
final
urlAttachmentTextMaxLine int?
Max number of lines in Url link text.
final
urlAttachmentTextStyle TextStyle?
Color for url attachment text.
final
urlAttachmentTitleMaxLine int?
Max number of lines in Url link title.
final
urlAttachmentTitleStyle TextStyle?
Color for url attachment title.
final

Methods

copyWith({TextStyle? messageTextStyle, TextStyle? messageAuthorStyle, TextStyle? messageLinksStyle, TextStyle? createdAtStyle, TextStyle? repliesStyle, Color? messageBackgroundColor, Color? messageBorderColor, StreamAvatarThemeData? avatarTheme, Color? reactionsBackgroundColor, Color? reactionsBorderColor, Color? reactionsMaskColor, Color? urlAttachmentBackgroundColor, TextStyle? urlAttachmentHostStyle, TextStyle? urlAttachmentTitleStyle, TextStyle? urlAttachmentTextStyle, int? urlAttachmentTitleMaxLine, int? urlAttachmentTextMaxLine}) StreamMessageThemeData
Copy with a theme
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(StreamMessageThemeData a, StreamMessageThemeData b, double t) StreamMessageThemeData
Linearly interpolate from one StreamMessageThemeData to another.
merge(StreamMessageThemeData? other) StreamMessageThemeData
Merge with a theme
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override