MethodChannelUrlLauncher class

An implementation of UrlLauncherPlatform that uses method channels.

Inheritance

Constructors

MethodChannelUrlLauncher()

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 launch url.
override
closeWebView() Future<void>
Closes the WebView, if one was opened earlier by launch.
override
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.
override
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