removeOnPlatformViewCreatedListener method

void removeOnPlatformViewCreatedListener(
  1. PlatformViewCreatedCallback listener
)

Removes a callback added with addOnPlatformViewCreatedListener.

Implementation

void removeOnPlatformViewCreatedListener(PlatformViewCreatedCallback listener) {
  assert(_state != _AndroidViewState.disposed);
  _platformViewCreatedCallbacks.remove(listener);
}