Answers for "flutter open phone dialer"

0

flutter open phone dialer

_launchCaller() async {
    const url = "tel:1234567";   
    if (await canLaunch(url)) {
       await launch(url);
    } else {
      throw 'Could not launch $url';
    }   
}
Posted by: Guest on January-24-2022

Code answers related to "Dart"

Browse Popular Code Answers by Language