TreeViewOptions<T> class

Options for creating a {@link TreeView}

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TreeViewOptions.new({TreeDataProvider? treeDataProvider, bool? showCollapseAll, bool? canSelectMany, TreeDragAndDropController? dragAndDropController, bool? manageCheckboxStateManually})
factory

Properties

canSelectMany bool?

Available on TreeViewOptions<T>, provided by the TreeViewOptions$Typings extension

Whether the tree supports multi-select. When the tree supports multi-select and a command is executed from the tree, the first argument to the command is the tree item that the command was executed on and the second argument is an array containing all selected tree items.
getter/setter pair
dragAndDropController TreeDragAndDropController<T>?

Available on TreeViewOptions<T>, provided by the TreeViewOptions$Typings extension

An optional interface to implement drag and drop in the tree view.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
manageCheckboxStateManually bool?

Available on TreeViewOptions<T>, provided by the TreeViewOptions$Typings extension

By default, when the children of a tree item have already been fetched, child checkboxes are automatically managed based on the checked state of the parent tree item. If the tree item is collapsed by default (meaning that the children haven't yet been fetched) then child checkboxes will not be updated. To override this behavior and manage child and parent checkbox state in the extension, set this to true.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCollapseAll bool?

Available on TreeViewOptions<T>, provided by the TreeViewOptions$Typings extension

Whether to show collapse all action or not.
getter/setter pair
treeDataProvider TreeDataProvider<T>

Available on TreeViewOptions<T>, provided by the TreeViewOptions$Typings extension

A data provider that provides tree data.
getter/setter pair

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