· UX/UI Designer

Action for phone call

There is already a post here on the forum about this action, I brought another flutter package that does the same thing in a simpler way and that doesn't require extra code configuration (for phone calls on IOS) like the "flutter_phone_direct_caller" package. This same package brings actions for email, phone call, whatsapp, maps, browser. Here's how to use it for phone calls. For more details see the package page: [WhatsApp Video 2022-02-28 at 19.40.39.mp4] How to useFirst, open the new action creation page! Add the dependency: linksaplicativos After that, copy this code snippet, compile!

 
import 'package:linksaplicativos/linksaplicativos.dart';

Future phoneCallAction(String phone) async {
  Linksaplicativos.telefone(phone);
}
 

In the object you want to use, just call the created action and pass the phone parameter, in my case it's a specific value, but you can use a variable, as long as it's a String. [2022-02-28 19_32_15-Domingao - FlutterFlow.png] Voilà!

1
7 replies