MessageThemeData class

Class for getting message theme

Mixed in types

Constructors

MessageThemeData({TextStyle? repliesStyle, TextStyle? messageTextStyle, TextStyle? messageAuthorStyle, TextStyle? messageLinksStyle, Color? messageBackgroundColor, Color? messageBorderColor, Color? reactionsBackgroundColor, Color? reactionsBorderColor, Color? reactionsMaskColor, AvatarThemeData? avatarTheme, TextStyle? createdAtStyle, Color? linkBackgroundColor})
Creates a MessageThemeData.
const

Properties

avatarTheme AvatarThemeData?
Theme of the avatar
final
createdAtStyle TextStyle?
Text style for created at text
final
hashCode int
The hash code for this object.
no setteroverride
linkBackgroundColor Color?
Background color for messages with url attachments.
final
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

Methods

copyWith({TextStyle? messageTextStyle, TextStyle? messageAuthorStyle, TextStyle? messageLinksStyle, TextStyle? createdAtStyle, TextStyle? repliesStyle, Color? messageBackgroundColor, Color? messageBorderColor, AvatarThemeData? avatarTheme, Color? reactionsBackgroundColor, Color? reactionsBorderColor, Color? reactionsMaskColor, Color? linkBackgroundColor}) MessageThemeData
Copy with a theme
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(MessageThemeData a, MessageThemeData b, double t) MessageThemeData
Linearly interpolate from one MessageThemeData to another.
merge(MessageThemeData? other) MessageThemeData
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