NavigatorWidget
Namespace: Hex1b.Widgets
Assembly: Hex1b.dll
A navigator widget that provides stack-based navigation for building wizard-style flows and drill-down experiences.
The navigator maintains a stack of routes. Use the NavigatorState to:
- Push: Navigate to a new screen (drill down)
- Pop: Go back to the previous screen
- PopToRoot: Return to the starting screen (complete wizard)
- Replace: Swap the current screen without adding to history
csharp
[Experimental("HEX1B001")]
public sealed record NavigatorWidget : Hex1bWidget, IEquatable<Hex1bWidget>, IStatefulWidget<NavigatorWidget, NavigatorState>, IEquatable<NavigatorWidget>Inheritance
Object → Hex1bWidget → NavigatorWidget
Implements
- IEquatable<Hex1bWidget>
- IStatefulWidget<NavigatorWidget, NavigatorState>
- IEquatable<NavigatorWidget>
Constructors
NavigatorWidget(NavigatorState)
Creates a navigator widget bound to the supplied .
Parameters:
state(NavigatorState):
csharp
public NavigatorWidget(NavigatorState state)Methods
State(NavigatorState)
Returns a copy of the navigator bound to state. Implements so the widget participates in the framework-wide lifted-state convention.
Parameters:
state(NavigatorState):
Returns: NavigatorWidget
csharp
public NavigatorWidget State(NavigatorState state)