easy_url_launcher 0.0.3 copy "easy_url_launcher: ^0.0.3" to clipboard
easy_url_launcher: ^0.0.3 copied to clipboard

outdated

A simple and very easy flutter package for launch url,email,call and sms in your App

A flutter package based on url_launcher package for call,sms,email and launch url in browser or app with url parameters and launch mode as platform default or platform specific mode for web

Features #

  • Very easy to use
  • Support Android & IOS

Getting started #

Add package to your project by running follwing command in your terminal

flutter pub add easy_url_launcher

Import pakage

import 'pakage:easy_url_launcher/easy_url_launcher.dart';

Usage #

Column(
    childerin: [
        TextButton(
            child: Text("Open url"),
            onPressed: ()async{
                EasyLauncher.url(url:"https://pub.dev");
            }
        ),

        TextButton(
            child: Text("Open url in default app"),
            onPressed: ()async{
                EasyLauncher.url(url:"https://www.instagram.com",mode: LaunchMode.externalApplication);
            }
        ),

        MaterialButton(
                color: Colors.indigo,
                textColor: Colors.white,
                onPressed: () async {
                  await EasyLauncher.email(
                      email: "sarwari.developer@gmail.com",
                      subject: "Test",
                      body: "Hello Flutter developer");
                },
                child: const Text("Send an email"),
              ),

    MaterialButton(
        child:Text("Call number"),
        onPressed: ()async {
            EasyLauncher.call(number: "0088980999");
        }
    ),

    MaterialButton(
        child:Text("Call USSD"),
        onPressed: ()async {
            EasyLauncher.call(number: "*#06#");
        }
    ),

    MaterialButton(
        child:Text("Send sms"),
        onPressed: ()async {
            EasyLauncher.sms(number: "555",message: "Hello");
        }
    ),

    ]
),
40
likes
0
points
213
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and very easy flutter package for launch url,email,call and sms in your App

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, url_launcher

More

Packages that depend on easy_url_launcher