BottomAppBarThemeData class
Defines default property values for descendant BottomAppBar widgets.
Descendant widgets obtain the current BottomAppBarThemeData object using BottomAppBarTheme.of. Instances of BottomAppBarThemeData can be customized with BottomAppBarThemeData.copyWith.
Typically a BottomAppBarThemeData is specified as part of the overall Theme with ThemeData.bottomAppBarTheme.
All BottomAppBarThemeData properties are null
by default. When null, the BottomAppBar
will use the values from ThemeData if they exist, otherwise it will
provide its own defaults. See the individual BottomAppBar properties for details.
See also:
- BottomAppBar, which is the widget that this theme configures.
- ThemeData, which describes the overall theme information for the application.
- Mixed-in types
- Annotations
Constructors
- BottomAppBarThemeData.new({Color? color, double? elevation, NotchedShape? shape, double? height, Color? surfaceTintColor, Color? shadowColor, EdgeInsetsGeometry? padding})
-
Creates a bottom app bar theme that can be used with ThemeData.bottomAppBarTheme.
const
Properties
- color → Color?
-
Overrides the default value for BottomAppBar.color.
final
- elevation → double?
-
Overrides the default value for BottomAppBar.elevation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double?
-
Overrides the default value for BottomAppBar.height.
final
- padding → EdgeInsetsGeometry?
-
Overrides the default value for BottomAppBar.padding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color?
-
Overrides the default value for BottomAppBar.shadowColor.
final
- shape → NotchedShape?
-
Overrides the default value for BottomAppBar.shape.
final
- surfaceTintColor → Color?
-
Overrides the default value for BottomAppBar.surfaceTintColor.
final
Methods
-
copyWith(
{Color? color, double? elevation, NotchedShape? shape, double? height, Color? surfaceTintColor, Color? shadowColor, EdgeInsetsGeometry? padding}) → BottomAppBarThemeData - Creates a copy of this object but with the given fields replaced with the new values.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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
Static Methods
-
lerp(
BottomAppBarThemeData? a, BottomAppBarThemeData? b, double t) → BottomAppBarThemeData - Linearly interpolate between two bottom app bar themes.