NavigationTheme class

Theme configuration for NavigationScreen, customizing layout behaviors.

This class extends ArcaneTheme capabilities, allowing adjustments to spacing, padding, and side alignments for different NavigationTypes. It supports efficient route caching and minimal rebuilds, ensuring performant navigation in ArcaneApp. Use copyWith to override defaults dynamically based on device or user preferences.

Constructors

const

Properties

drawerTransformsBackdrop bool
final
endSide bool
final
hashCode int
The hash code for this object.
no setterinherited
railRightPadding double
final
railTopPadding double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sidebarSpacing double
final
type NavigationType
final

Methods

copyWith({NavigationType? type, double? sidebarSpacing, double? railRightPadding, double? railTopPadding, bool? endSide, bool? drawerTransformsBackdrop}) NavigationTheme
Creates a copy of this NavigationTheme with specified properties replaced.
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.
inherited