flutter_launcher_plus 0.0.4 copy "flutter_launcher_plus: ^0.0.4" to clipboard
flutter_launcher_plus: ^0.0.4 copied to clipboard

outdated

Plugin to launch url and map coordinates

flutter_launcher_plus #

Plugin to launch url and map coordinates

Getting Started #

Future<void> launchUrl(String websiteUrl) async {
    await _channel.invokeMethod('launchUrl',<String, String>{
      'website_url':websiteUrl
    });
  }
  Future<void> drawRouteFromCurrentLocation(String latitude, String longitude) async {
    await _channel.invokeMethod('drawRouteFromCurrentLocation',<String, String>{
      'latitude':latitude,
      'longitude':longitude,
    });
  }
Future<void> drawRouteBetweenTwoLocation(String startLatitude, String startLongitude, String endLatitude, String endLongitude) async {
    await _channel.invokeMethod('drawRouteBetweenTwoLocation',<String, String>{
      'startLatitude':startLatitude,
      'startLongitude':startLongitude,
      'endLatitude':endLatitude,
      'endLongitude':endLongitude,
    });
  }
Future<void> dialNumber(String number) async {
    await _channel.invokeMethod('dialNumber',<String, String>{
      'number':number,
    });
  }
 ElevatedButton(
    onPressed: (){
        launchUrl("http://www.google.com");
    },
    child: Text("Launch Url")
)
4
likes
0
points
79
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin to launch url and map coordinates

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_launcher_plus