ScaffoldWidgetItemMenu class

Modelo para items del menu de un scaffold

Constructors

ScaffoldWidgetItemMenu({required String titulo, required int indice, bool ocultarEnMenu = false, String? ruta, Function? onTap, required IconData icono})

Properties

hashCode int
The hash code for this object.
no setterinherited
icono IconData
Icono
final
indice int
indice de la posicion en la que se encuentra el item
final
ocultarEnMenu bool
Si se desea agregar un item al menu pero que no se muestre en el drawer
final
onTap Function?
Disparar accion al hacer clic en un item
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ruta String?
Ruta que se va a visualizar al seleccionar
final
titulo String
Nombre con el cual se va a visualizar
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