MenuConfig class
Class for config the menu.
Constructors
-
MenuConfig({required String name, String? text, IconData? icon, String? path, List<
MenuConfig> children = const []}) -
Class for config the menu.
const
Properties
-
children
→ List<
MenuConfig> -
Child elements.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Menu icon.
final
- name → String
-
Menu name.
final
- path → String?
-
The root path to transition to when clicked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Menu description.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → dynamic -
Convert the menu style to
DynamicMap
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited