subGraphExpandedChanged property

(void Function(Group)?) subGraphExpandedChanged

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

If the value is a function, that function must not expand or collapse any groups. The Group 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.Group)? get subGraphExpandedChanged =>
    (_i3.Group p0) => _i4.callMethod(
          _i4.getProperty(
            this,
            'subGraphExpandedChanged',
          ),
          r'call',
          [
            this,
            p0,
          ],
        );
void subGraphExpandedChanged=(void value(Group)?)

Implementation

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