TreeView<T> constructor
TreeView<T> ({
- 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
Implementation
factory TreeView({
_i3.Event<_i3.TreeViewExpansionEvent<_i2.dynamic>>? onDidExpandElement,
_i3.Event<_i3.TreeViewExpansionEvent<_i2.dynamic>>? onDidCollapseElement,
_i2.List<_i2.dynamic>? selection,
_i3.Event<_i3.TreeViewSelectionChangeEvent<_i2.dynamic>>?
onDidChangeSelection,
_i2.bool? visible,
_i3.Event<_i3.TreeViewVisibilityChangeEvent>? onDidChangeVisibility,
_i3.Event<_i3.TreeCheckboxChangeEvent<_i2.dynamic>>?
onDidChangeCheckboxState,
_i2.String? message,
_i2.String? title,
_i2.String? description,
_i3.ViewBadge? badge,
_i2.Future<_i2.dynamic> Function(
_i2.dynamic, [
_i2.dynamic,
])? reveal,
}) =>
TreeView._(
onDidExpandElement: onDidExpandElement ?? _i6.undefined,
onDidCollapseElement: onDidCollapseElement ?? _i6.undefined,
selection: selection ?? _i6.undefined,
onDidChangeSelection: onDidChangeSelection ?? _i6.undefined,
visible: visible,
onDidChangeVisibility: onDidChangeVisibility ?? _i6.undefined,
onDidChangeCheckboxState: onDidChangeCheckboxState ?? _i6.undefined,
message: message,
title: title,
description: description,
badge: badge ?? _i6.undefined,
reveal: reveal == null ? null : _i5.allowInterop(reveal),
);