getContentHeight method
Gets the height of the HTML content.
Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.getContentHeight)
- iOS (Official API - UIScrollView.contentSize)
Implementation
Future<int?> getContentHeight() async {
Map<String, dynamic> args = <String, dynamic>{};
return await _channel.invokeMethod('getContentHeight', args);
}