UrlLauncherIOS class
An implementation of UrlLauncherPlatform
for iOS.
- Inheritance
-
- Object
- PlatformInterface
- UrlLauncherIOS
Constructors
- UrlLauncherIOS.new({@visibleForTesting UrlLauncherApi? api})
- Creates a new plugin implementation instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkDelegate → LinkDelegate?
-
The delegate used by the Link widget to build itself.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canLaunch(
String url) → Future< bool> -
Returns
true
if this platform is able to launchurl
. -
closeWebView(
) → Future< void> - Closes the WebView, if one was opened earlier by launch.
-
downloadBlob(
List< int> bytes, {String? types, String? endings, String? fileName}) → void -
inherited
-
getNewWindowLocation(
int width, int height) → Point< num> -
inherited
-
isLastWindowClosed(
) → bool? -
inherited
-
launch(
String url, {required bool useSafariVC, required bool useWebView, required bool enableJavaScript, required bool enableDomStorage, required bool universalLinksOnly, required Map< String, String> headers, String? webOnlyWindowName, String? webOnlyOptions}) → Future<bool> -
Passes
url
to the underlying platform for handling. -
launchUrl(
String url, LaunchOptions options) → Future< bool> -
Passes
url
to the underlying platform for handling.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
) → void -
Registers this class as the default instance of
UrlLauncherPlatform
.