closeActivatedPlugin static method

void closeActivatedPlugin()

Close the activated plugin if any.

The method does not have side-effects whether the UMEWidget is not enabled or no plugin has been activated.

Implementation

static void closeActivatedPlugin() {
  final _ContentPageState? state =
      _umeWidgetState?._contentPageKey.currentState;
  if (state?._currentSelected != null) {
    state?._closeActivatedPluggable();
  }
}