How to launch another app from your flutter app?

Custom Code

I'm trying to open instagram in a user from my flutter app, is this posible?, i tried to add a "Custom Action" using the "url_launcher" package of flutter, but it doesn´t work.

What have you tried so far?
import 'package:url_launcher/url_launcher.dart';

// Set your action name, define your arguments and return parameter,
// and then add the boilerplate code using the green button on the right!
Future openInstagramApp() async {
  // open instagram app in nielpresidente profile with a button
  await launchUrl(Uri.parse('instagram://user?username=username'));
}
Did you check FlutterFlow's Documentation for this topic?
Yes
1
1 reply