VooNavigationTheme class
Theme configuration for navigation visual styling
Provides a simple, unified approach to styling navigation components.
Example:
VooNavigationTheme(
surfaceColor: Colors.white,
borderRadius: 12,
elevation: 0,
)
Constructors
-
Creates a navigation theme
const
Properties
- animationCurve → Curve
-
Animation curve for transitions
final
- animationDuration → Duration
-
Animation duration for transitions
final
- borderColor → Color?
-
Border color (null = no border)
final
- borderRadius → double
-
Border radius for containers
final
- borderWidth → double
-
Border width
final
- elevation → double
-
Elevation/shadow depth
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- indicatorColor → Color?
-
Indicator color for selected items
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surfaceColor → Color?
-
Surface/background color for the navigation
final
Methods
-
copyWith(
{Color? surfaceColor, double? borderRadius, double? elevation, Color? borderColor, double? borderWidth, Color? indicatorColor, Duration? animationDuration, Curve? animationCurve}) → VooNavigationTheme - Creates a copy with the given fields replaced
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveBorderColor(
BuildContext context) → Color? - Resolves the border color for the current theme
-
resolveIndicatorColor(
BuildContext context) → Color - Resolves the indicator color for the current theme
-
resolveShadows(
BuildContext context) → List< BoxShadow> - Generates box shadows based on elevation
-
resolveSurfaceColor(
BuildContext context) → Color - Resolves the surface color for the current theme
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override