ShadMenuItem class

Constructors

ShadMenuItem({required String label, IconData? icon, Widget? customIcon, VoidCallback? onTap, bool isDisabled = false, bool isSeparator = false, List<ShadMenuItem>? subItems, String? shortcut, Color? color})
const

Properties

color Color?
final
customIcon Widget?
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
final
isDisabled bool
final
isSeparator bool
final
label String
final
onTap VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortcut String?
final
subItems List<ShadMenuItem>?
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