pause method
Does a best-effort attempt to pause any processing that can be paused safely, such as animations and geolocation. Note that this call does not pause JavaScript. To pause JavaScript globally, use PlatformInAppWebViewController.pauseTimers. To resume WebView, call resume.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.onPause)
Implementation
Future<void> pause() => platform.pause();