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