TreeView<T> class

Represents a Tree view

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

Constructors

TreeView({Event<TreeViewExpansionEvent>? onDidExpandElement, Event<TreeViewExpansionEvent>? onDidCollapseElement, List? selection, Event<TreeViewSelectionChangeEvent>? onDidChangeSelection, bool? visible, Event<TreeViewVisibilityChangeEvent>? onDidChangeVisibility, Event<TreeCheckboxChangeEvent>? onDidChangeCheckboxState, String? message, String? title, String? description, ViewBadge? badge, Future reveal(dynamic, [dynamic])?})
factory

Properties

badge ViewBadge?

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

The badge to display for this TreeView. To remove the badge, set to undefined.
getter/setter pair
description String?

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

An optional human-readable description which is rendered less prominently in the title of the view. Setting the title description to null, undefined, or empty string will remove the description from the view.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?

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

An optional human-readable message that will be rendered in the view. Setting the message to null, undefined, or empty string will remove the message from the view.
getter/setter pair
onDidChangeCheckboxState Event<TreeCheckboxChangeEvent<T>>

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

An event to signal that an element or root has either been checked or unchecked.
no setter
onDidChangeSelection Event<TreeViewSelectionChangeEvent<T>>

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

Event that is fired when the {@link TreeView.selectionselection} has changed
no setter
onDidChangeVisibility Event<TreeViewVisibilityChangeEvent>

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

Event that is fired when {@link TreeView.visiblevisibility} has changed
no setter
onDidCollapseElement Event<TreeViewExpansionEvent<T>>

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

Event that is fired when an element is collapsed
no setter
onDidExpandElement Event<TreeViewExpansionEvent<T>>

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

Event that is fired when an element is expanded
no setter
reveal Future Function(T, [dynamic])

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

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection List<T>

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

Currently selected elements.
no setter
title String?

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

The tree view title is initially taken from the extension package.json Changes to the title property will be properly reflected in the UI in the title of the view.
getter/setter pair
visible bool

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

true if the {@link TreeViewtree view} is visible otherwise false.
no setter

Methods

dispose() → dynamic

Available on Disposable, provided by the Disposable$Typings extension

Dispose this object.
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