internalSetStateChanged function

  1. @dart2js.tryInline
void internalSetStateChanged (ComponentState component, void onStateChanged())

INTERNAL ONLY: Used to configure a ComponentState implementation.

Implementation

@dart2js.tryInline
void internalSetStateChanged(
  ComponentState component,
  void Function() onStateChanged,
) {
  component._onStateChanged = onStateChanged;
}