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>, IEquatable<NavigatorWidget>

Inheritance

ObjectHex1bWidgetNavigatorWidget

Implements

Constructors

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:

csharp
public NavigatorWidget(NavigatorState State)

Properties

State

Returns: NavigatorState

csharp
public NavigatorState State { get; init; }

Released under the MIT License.