StreamChannelHeaderThemeData class
A style that overrides the default appearance of ChannelHeader
s when used
with StreamChannelHeaderTheme or with the overall StreamChatTheme's
StreamChatThemeData.channelHeaderTheme.
See also:
- StreamChannelHeaderTheme, the theme which is configured with this class.
- StreamChatThemeData.channelHeaderTheme, which can be used to override
the default style for
ChannelHeader
s below the overall StreamChatTheme.
- Mixed-in types
Constructors
- StreamChannelHeaderThemeData.new({TextStyle? titleStyle, TextStyle? subtitleStyle, StreamAvatarThemeData? avatarTheme, Color? color})
-
Creates a StreamChannelHeaderThemeData
const
Properties
- avatarTheme → StreamAvatarThemeData?
-
Theme for avatar
final
- color → Color?
-
Color for StreamChannelHeaderThemeData
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
Methods
-
copyWith(
{TextStyle? titleStyle, TextStyle? subtitleStyle, StreamAvatarThemeData? avatarTheme, Color? color}) → StreamChannelHeaderThemeData - Copy with theme
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
lerp(
StreamChannelHeaderThemeData a, StreamChannelHeaderThemeData b, double t) → StreamChannelHeaderThemeData - Linearly interpolate between two StreamChannelHeaderThemeData.
-
merge(
StreamChannelHeaderThemeData? other) → StreamChannelHeaderThemeData - Merge with other StreamChannelHeaderThemeData
-
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