MenuBoxItem class

Represents a menu item in a box menu grid.

Contains an icon, label text, background color, and action callback.

Constructors

Creates a menu box item.

Properties

bgColor Color
The background color of the menu box. Defaults to white.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon Widget
The icon widget to display in the menu box.
getter/setter pair
labelText String
The label text to display below the icon.
getter/setter pair
onPressed VoidCallback
Callback invoked when the menu box is pressed.
getter/setter pair
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