StreamChannelPreviewThemeData class

A style that overrides the default appearance of ChannelPreviews when used with StreamChannelPreviewTheme or with the overall StreamChatTheme's StreamChatThemeData.channelPreviewTheme.

See also:

Mixed in types

Constructors

StreamChannelPreviewThemeData({TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? lastMessageAtStyle, StreamAvatarThemeData? avatarTheme, Color? unreadCounterColor, double? indicatorIconSize})
Creates a StreamChannelPreviewThemeData.
const

Properties

avatarTheme StreamAvatarThemeData?
Avatar theme
final
hashCode int
The hash code for this object.
no setteroverride
indicatorIconSize double?
Indicator icon size
final
lastMessageAtStyle TextStyle?
Theme of last message at
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitleStyle TextStyle?
Theme for subtitle
final
titleStyle TextStyle?
Theme for title
final
unreadCounterColor Color?
Unread counter color
final

Methods

copyWith({TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? lastMessageAtStyle, StreamAvatarThemeData? avatarTheme, Color? unreadCounterColor, double? indicatorIconSize}) StreamChannelPreviewThemeData
Copy with theme
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(StreamChannelPreviewThemeData a, StreamChannelPreviewThemeData b, double t) StreamChannelPreviewThemeData
Linearly interpolate one StreamChannelPreviewThemeData to another.
merge(StreamChannelPreviewThemeData? other) StreamChannelPreviewThemeData
Merge with 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