getTitle method

  1. @override
Future<String> getTitle()

Returns the title of the currently loaded page.

Implementation

@override
Future<String> getTitle() async {
  final iFrame = _webWebViewParams.iFrame;
  final iDocument = iFrame.contentDocument;

  return iDocument?.title ?? '';
}