connectPlatformView method

void connectPlatformView(
  1. int viewId
)

Public entry point for platform-view creation. Functionally identical to _onPlatformViewCreated; exposed so composite widgets (e.g. PlayerViewWithControls) can forward the callback without subclassing.

Implementation

void connectPlatformView(int viewId) => _onPlatformViewCreated(viewId);