addOnPlatformViewCreatedListener method

void addOnPlatformViewCreatedListener(
  1. PlatformViewCreatedCallback listener
)

Adds a callback that will get invoke after the platform view has been created.

Implementation

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