MagicStarterNavigationConfig class

Configuration for app navigation sections.

Apps register these via MagicStarter.useNavigation to populate the sidebar, drawer, and bottom navigation bar.

Constructors

MagicStarterNavigationConfig({required List<MagicStarterNavItem> mainItems, List<MagicStarterNavItem> systemItems = const [], List<MagicStarterNavItem> bottomItems = const [], List<MagicStarterNavItem> profileMenuItems = const []})
const

Properties

bottomItems → List<MagicStarterNavItem>
Bottom navigation items for mobile (subset of main).
final
hashCode → int
The hash code for this object.
no setterinherited
mainItems → List<MagicStarterNavItem>
Primary navigation items (Dashboard, Monitors, etc.).
final
profileMenuItems → List<MagicStarterNavItem>
Profile dropdown menu items.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
systemItems → List<MagicStarterNavItem>
Secondary/system navigation items (Team Members, Settings).
final

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