LinkLauncher class
Wrapper class for opening urls inside apps
Constructors
- LinkLauncher()
-
Creates a LinkLauncher
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openWebPage(
{required Uri url, bool openExternally = false, CustomTabsOptions? tabsOptions, SafariViewControllerOptions? safariViewControllerOptions, bool checkTrackingPermission = false}) → Future< void> -
Opens an url in a modal style on a mobile device or in a new tap on a web client
if
openExternallyistruethis will also be launched externally UsetabsOptionsto customize the Chrome tabs on Android UsesafariViewControllerOptionsto customize the SafariController on iOS UsecheckTrackingPermissionif the website should be displayed in a SafariViewController on iOS and Displays Cookies This can lead to rejection during Apple Review if no Tracking Permission was granted by the user If you set this to true you need to declare the usage ofNSUserTrackingUsageDescriptionin Info.plist -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited