Add the following to your pubspec.yaml
file:
dependencies:
url_launcher_client: ^0.0.1
git:
url: https://github.com/arcas0803/url_launcher_client.git
ref: main
import 'package:url_launcher_client/url_launcher_client.dart';
final client = UrlLauncherClient();
await client.launchUrl(url: 'https://www.google.com');
final client = UrlLauncherClient();
await client.launchEmail(
email: 'example@aa.aa',
subject: 'Subject',
body: 'Body',
);
final client = UrlLauncherClient();
await client.launchPhone(phone: '123456789');
final client = UrlLauncherClient();
await client.launchSms(phone: '123456789');