SolidOverflowMenuItem class

Configuration for an overflow menu item.

Constructors

SolidOverflowMenuItem.new({required String id, required IconData icon, required String label, required VoidCallback onSelected, bool showInOverflow = true})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData
The icon to display.
final
id String
Unique identifier for this menu item.
final
label String
The text label to display.
final
onSelected VoidCallback
The callback when the item is selected.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showInOverflow bool
Whether this item should be shown in the overflow menu.
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