TreeViewSelectionMode enum

Inheritance

Constructors

TreeViewSelectionMode()
const

Values

none → const TreeViewSelectionMode

Selection is disabled

single → const TreeViewSelectionMode

When single selection is enabled, only a single item can be selected by once.

multiple → const TreeViewSelectionMode

When multiple selection is enabled, a checkbox is shown next to each tree view item, and selected items are highlighted. A user can select or de-select an item by using the checkbox; clicking the item still causes it to be invoked.

Selecting or de-selecting a parent item will select or de-select all children under that item. If some, but not all, of the children under a parent item are selected, the checkbox for the parent node is shown in the indeterminate state

TreeView with multiple selection enabled

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<TreeViewSelectionMode>
A constant List of the values in this enum, in order of their declaration.