TreeViewMenuItem class

Represents a menu item in the context menu for TreeView

Constructors

TreeViewMenuItem.new({required String id, required String label, IconData? icon, bool enabled = true, bool dividerAfter = false})
Creates a new TreeViewMenuItem
const

Properties

dividerAfter bool
Whether to show a divider after this menu item
final
enabled bool
Whether the menu item is enabled or disabled
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
Optional icon to display with the menu item
final
id String
Unique identifier for the menu item
final
label String
Display text for the menu item
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