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>, IEquatable<NavigatorWidget>Inheritance
Object → Hex1bWidget → NavigatorWidget
Implements
Constructors
NavigatorWidget(NavigatorState)
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
Parameters:
State(NavigatorState):
csharp
public NavigatorWidget(NavigatorState State)Properties
State
Returns: NavigatorState
csharp
public NavigatorState State { get; init; }