LaunchUtils class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
launchEmail (dynamic email , {LaunchMode mode = LaunchMode.platformDefault })
→ dynamic
Launch email app with given email.
launchGeoPoint (double latitude , double longitude , {LaunchMode mode = LaunchMode.platformDefault })
→ dynamic
Launch GeoPoint app with the given latitude and longitude.
launchMessage (String telephoneNumber , {String ? message , LaunchMode mode = LaunchMode.platformDefault })
→ dynamic
Launch Message app with the given message.
launchPhone (dynamic telephoneNumber , {LaunchMode mode = LaunchMode.platformDefault })
→ dynamic
Launch the phone number.
launchTelegram (dynamic telegramChannel , {LaunchMode mode = LaunchMode.platformDefault })
→ dynamic
Launch telegram app
launchUrl (dynamic url , {LaunchMode mode = LaunchMode.platformDefault })
→ dynamic
Opens the given url in the default browser.
launchWhatsApp (String whatsAppNumber , {String message = "Hello" , LaunchMode mode = LaunchMode.platformDefault , String ? url })
→ dynamic
Launch WhatsApp with the given telephoneNumber and message.
message is optional.
mode is optional.
url is optional, if not provided, it will use the whatsappNumber otherwise it will use the url.