NiceMenuItem class

Menu item model.

Constructors

NiceMenuItem({required String id, required String label, IconData? icon, List<NiceMenuItem> children = const [], bool enabled = true, String? badge})
const

Properties

badge → String?
final
children → List<NiceMenuItem>
final
enabled → bool
final
hasChildren → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
final
id → String
final
label → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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