StreamGalleryHeaderThemeData class
A style that overrides the default appearance of GalleryHeader
s when used
with StreamGalleryHeaderTheme or with the overall StreamChatTheme's
StreamChatThemeData.galleryHeaderTheme.
See also:
- StreamGalleryHeaderTheme, the theme which is configured with this class.
- StreamChatThemeData.galleryHeaderTheme, which can be used to override
the default style for
GalleryHeader
s below the overall StreamChatTheme.
- Mixed in types
Constructors
- StreamGalleryHeaderThemeData({Color? closeButtonColor, Color? backgroundColor, Color? iconMenuPointColor, TextStyle? titleTextStyle, TextStyle? subtitleTextStyle, Color? bottomSheetBarrierColor})
-
Creates an StreamGalleryHeaderThemeData.
const
Properties
- backgroundColor → Color?
-
The background color of the
GalleryHeader
widget.final - bottomSheetBarrierColor → Color?
-
final
- closeButtonColor → Color?
-
The color of the "close" button.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconMenuPointColor → Color?
-
Defaults to
ColorTheme.textHighEmphasis
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitleTextStyle → TextStyle?
-
The TextStyle to use for the
GalleryHeader
subtitle text.final - titleTextStyle → TextStyle?
-
The TextStyle to use for the
GalleryHeader
title text.final
Methods
-
copyWith(
{Color? closeButtonColor, Color? backgroundColor, Color? iconMenuPointColor, TextStyle? titleTextStyle, TextStyle? subtitleTextStyle, Color? bottomSheetBarrierColor}) → StreamGalleryHeaderThemeData - Copies this StreamGalleryHeaderThemeData to another.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
lerp(
StreamGalleryHeaderThemeData a, StreamGalleryHeaderThemeData b, double t) → StreamGalleryHeaderThemeData -
Linearly interpolate between two
GalleryHeader
themes. -
merge(
StreamGalleryHeaderThemeData? other) → StreamGalleryHeaderThemeData - Merges one StreamGalleryHeaderThemeData with the another
-
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