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