onContentReady method

void onContentReady(
  1. String id,
  2. void callback()
)

Called when Flutter content is ready.

Implementation

void onContentReady(String id, void Function() callback) {
  onWindowEvent(id, 'contentReady', (_) => callback());
}