Skip to content

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

ObjectHex1bWidgetNavigatorWidget

Implements

Constructors

Creates a navigator widget bound to the supplied .

Parameters:

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:

Returns: NavigatorWidget

csharp
public NavigatorWidget State(NavigatorState state)

Released under the MIT License.