highlightedChanged property

void Function(Part)? get highlightedChanged

Gets or sets the function to execute when this #isHighlighted changes. It is typically used to modify the appearance of the part. This function must not highlight or unhighlight any parts.

If this property value is a function, it is called with one argument, this Part that whose #isHighlighted value changed. By default this property is null.

Implementation

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

Implementation

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