getTitle method
Gets the title for the current page.
Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.getTitle)
- iOS (Official API - WKWebView.title)
Implementation
Future<String?> getTitle() async {
Map<String, dynamic> args = <String, dynamic>{};
return await _channel.invokeMethod('getTitle', args);
}