DrawerMenuItem class

Constructors

DrawerMenuItem({required String title, required String iconUrl, bool isVisible = true, required ValueNotifier<bool> isExpanded, bool isSelected = false, required String route, List<DrawerSubMenuMenuItem>? subCategories})

Properties

hashCode int
The hash code for this object.
no setterinherited
iconUrl String
final
isExpanded ValueNotifier<bool>
getter/setter pair
isSelected bool
getter/setter pair
isVisible bool
final
route String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subCategories List<DrawerSubMenuMenuItem>?
getter/setter pair
title String
final

Methods

copyWith({String? menuId, String? title, String? route, bool? isVisible, String? iconUrl, bool isSelected = false, ValueNotifier<bool>? isExpanded, List<DrawerSubMenuMenuItem>? subCategories}) DrawerMenuItem
fromJson(Map<String, dynamic> json) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited