I try to make a phone call from my Flutter app. With the following code:
UrlLauncher.launch(\'tel: xxxxxxxx\');
I found this Function on the
Just url_launcher: ^ latest Version
in Pubspec.yamal
Note: Before Pub get or Upgrade delete Pubspec.lock some time it gives unwanted problems.
Import package import 'package:url_launcher/url_launcher.dart';
//for launching URL
launchUrl("HTTP://website.com");
// for dial phone number
launchUrl("tel:+91963852741");
// for sending email
launchUrl("mailto:mail@gmail.com?subject=Meeting&body=Can we meet via Google Meet");