GalleryHeaderThemeData class
A style that overrides the default appearance of GalleryHeaders when used with GalleryHeaderTheme or with the overall StreamChatTheme's StreamChatThemeData.galleryHeaderTheme.
See also:
- GalleryHeaderTheme, the theme which is configured with this class.
- StreamChatThemeData.galleryHeaderTheme, which can be used to override the default style for GalleryHeaders below the overall StreamChatTheme.
- Mixed in types
Constructors
- GalleryHeaderThemeData({Color? closeButtonColor, Color? backgroundColor, Color? iconMenuPointColor, TextStyle? titleTextStyle, TextStyle? subtitleTextStyle, Color? bottomSheetBarrierColor})
-
Creates an GalleryHeaderThemeData.
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}) → GalleryHeaderThemeData - Copies this GalleryHeaderThemeData to another.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
lerp(
GalleryHeaderThemeData a, GalleryHeaderThemeData b, double t) → GalleryHeaderThemeData - Linearly interpolate between two GalleryHeader themes.
-
merge(
GalleryHeaderThemeData? other) → GalleryHeaderThemeData - Merges one GalleryHeaderThemeData 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