DrawerItem class

Constructors

DrawerItem({required String title, required String routeName, IconData? icon, Widget? child, List<MenuItem>? menuItems = const [], bool isFirst = false})

Properties

child Widget?
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
final
isFirst bool
set true if you want the menu to be expanded from the beginning
final
final
routeName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

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