SolidNavUtils class
Utility class for navigation components.
This class provides high-level functions for creating navigation elements that can be used across different applications without coupling to specific app logic.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
createAppBar(
{required BuildContext context, required SolidAppBarConfig config, WidgetRef? ref}) → AppBar - Creates a generic responsive AppBar with configurable actions.
- Creates a list of navigation tabs.
-
createUserInfo(
SolidNavUserConfig config) → SolidNavUserInfo - Creates a SolidNavUserInfo from user configuration.
-
findTabIndexByTitle(
List< SolidNavTab> tabs, String title) → int? - Finds a tab by title (case-insensitive).
-
validateTabSelection(
List< SolidNavTab> tabs, int selectedIndex) → bool - Validates if a list of tabs has valid indices.