UrlLauncherHelper class

Helper class for launching an url from the app.

Constructors

UrlLauncherHelper()

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

callPhoneNumber(String phoneNumber) Future
Opens the phone app to call the given phoneNumber.
openMap({required String mapUrl, LaunchMode launchMode = LaunchMode.externalApplication}) Future
Opens up google map with the given mapUrl in the given launchMode.
openUrl({required String url, LaunchMode launchMode = LaunchMode.externalApplication}) Future
Opens up the browser with the given url in the given launchMode.
sendEmail({required String email, String subject = "", String body = ""}) Future
Opens the email app to send an email to the given email with an optional subject and body.