handlePhonePress method
Implementation
void handlePhonePress(String phone) async {
final phoneUrl = 'tel:$phone';
if (await canLaunchUrl(Uri.parse(phoneUrl))) {
await launchUrl(Uri.parse(phoneUrl));
}
}
void handlePhonePress(String phone) async {
final phoneUrl = 'tel:$phone';
if (await canLaunchUrl(Uri.parse(phoneUrl))) {
await launchUrl(Uri.parse(phoneUrl));
}
}