GalleryHeaderThemeData class
A style that overrides the default appearance of GalleryHeader
s when used
with GalleryHeaderTheme or with the overall PensilTheme's
StreamFeedThemeData.galleryHeaderTheme
.
See also:
- GalleryHeaderTheme, the theme which is configured with this class.
StreamFeedThemeData.galleryHeaderTheme
, which can be used to override the default style forGalleryHeader
s below the overall PensilTheme.
- Mixed in types
Constructors
- GalleryHeaderThemeData({Color? closeButtonColor, Color? backgroundColor, TextStyle? titleTextStyle})
-
Builds a GalleryHeaderThemeData.
const
Properties
- backgroundColor → Color?
-
The background color of the
GalleryHeader
widget.final - closeButtonColor → Color?
-
The color of the "close" button.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleTextStyle → TextStyle?
-
The TextStyle to use for the
GalleryHeader
title text.final
Methods
-
copyWith(
{Color? closeButtonColor, Color? backgroundColor, TextStyle? titleTextStyle}) → 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. -
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