onInit property

void Function()? onInit
getter/setter pair

Called whenever InAppWebViewController.onLoadStop is fired on mobile or when the IFrameElement.onLoad stream is fired on web. Note that this method will also be called on refresh on both platforms.

You can use this method to set certain properties - e.g. set the editor to fullscreen mode - as soon as the editor is ready to accept these commands.

Implementation

void Function()? onInit;