NavigationBarTheme class
Theme data for customizing NavigationBar widget appearance.
This class defines the visual and behavioral properties that can be applied to NavigationBar widgets, including background colors, alignment, spacing, label presentation, and padding. These properties can be set at the theme level to provide consistent styling across the application.
Constructors
-
const
Properties
- alignment → NavigationBarAlignment?
-
final
- backgroundColor → Color?
-
final
- direction → Axis?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- labelPosition → NavigationLabelPosition?
-
final
- labelSize → NavigationLabelSize?
-
final
- labelType → NavigationLabelType?
-
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double?
-
final
Methods
-
copyWith(
{ValueGetter< Color?> ? backgroundColor, ValueGetter<NavigationBarAlignment?> ? alignment, ValueGetter<Axis?> ? direction, ValueGetter<double?> ? spacing, ValueGetter<NavigationLabelType?> ? labelType, ValueGetter<NavigationLabelPosition?> ? labelPosition, ValueGetter<NavigationLabelSize?> ? labelSize, ValueGetter<EdgeInsetsGeometry?> ? padding}) → NavigationBarTheme -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override