ChromeSafariBrowser constructor
ChromeSafariBrowser()
Constructs a ChromeSafariBrowser.
Class that provides a visible standard interface for browsing the web. It presents a self-contained web interface inside your app.
If you need to customize or interact with the web content, use the InAppWebView
widget.
This class uses native Chrome Custom Tabs on Android and SFSafariViewController on iOS.
NOTE: If you want to use the ChromeSafariBrowser
class on Android 11+ you need to specify your app querying for
android.support.customtabs.action.CustomTabsService
in your AndroidManifest.xml
(you can read more about it here: https://developers.google.com/web/android/custom-tabs/best-practices#applications_targeting_android_11_api_level_30_or_above).
Officially Supported Platforms/Implementations:
- Android
- iOS
Implementation
ChromeSafariBrowser()
: this.fromPlatformCreationParams(
PlatformChromeSafariBrowserCreationParams(),
);