openData method
Opens the PlatformInAppBrowser instance with data as a content, using baseUrl as the base URL for it.
The mimeType parameter specifies the format of the data. The default value is "text/html".
The encoding parameter specifies the encoding of the data. The default value is "utf8".
settings: Settings for the PlatformInAppBrowser.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Windows
Implementation
Future<void> openData({
required String data,
String mimeType = "text/html",
String encoding = "utf8",
WebUri? baseUrl,
WebUri? historyUrl,
InAppBrowserClassSettings? settings,
}) {
throw UnimplementedError(
'openData is not implemented on the current platform',
);
}