treeExpandedChanged property

void Function(Node)? get treeExpandedChanged

Gets or sets the function that is called when #isTreeExpanded has changed value. The argument to that function will be this Node.

If the value is a function, that function must not expand or collapse any trees of nodes and links. The Node has already been expanded or collapsed -- trying to change it again may produce undefined behavior.

The default value is null -- no function is called.

Implementation

void Function(_i3.Node)? get treeExpandedChanged =>
    (_i3.Node p0) => _i4.callMethod(
          _i4.getProperty(
            this,
            'treeExpandedChanged',
          ),
          r'call',
          [
            this,
            p0,
          ],
        );
set treeExpandedChanged (void value(Node)?)

Implementation

set treeExpandedChanged(void Function(_i3.Node)? value) {
  _i4.setProperty(
    this,
    'treeExpandedChanged',
    value == null ? _i5.undefined : _i4.allowInterop(value),
  );
}