ElevarmDrawerMenu class
ElevarmDrawer menu data class.
Constructors
-
ElevarmDrawerMenu({required String title, IconData? iconAssetName, List<
ElevarmDrawerMenu> children = const [], String? routePath}) -
const
Properties
-
children
→ List<
ElevarmDrawerMenu> -
The menu children if exist.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconAssetName → IconData?
-
The icon asset name if exist.
final
- routePath → String?
-
The menu route path if exist.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The menu title.
final
Methods
-
isActive(
String currentRoutePath) → bool -
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