internalSetStateChanged function

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

    INTERNAL ONLY: Used to configure a ComponentState implementation.

    Implementation

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