NavWidget class
A navigation item that renders a custom widget in NavigationScreen.
Use this for non-tab elements like dividers or custom UI in navigation rails, sidebars, or drawers. It builds content via a provided builder function, supporting dynamic rendering based on context, such as theme-aware styling from ArcaneTheme. Integrates with Navigator for route-aware layouts.
- Inheritance
- Implementers
Constructors
-
const
Properties
- builder → Widget Function(BuildContext)
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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