पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv0.0.7

easy_url_launcher

अपने ऐप में URL, ईमेल, कॉल और एसएमएस लॉन्च करने के लिए एक सरल और बहुत आसान फ्लटर पैकेज

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
203
लाइक
40
Pub अंक
140

पैकेज इंस्टॉल करें

flutter pub add easy_url_launcher

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

EasyUrlLauncher एक हल्का फ्लटर पैकेज है जो आपके ऐप में URL, ईमेल, फ़ोन कॉल और SMS संदेशों को लॉन्च करने को सरल बनाता है। यह एड्रॉइड, आईओएस, वेब, मैकओएस, विंडोज और लिनक्स सहित कई प्लेटफ़ॉर्म पर आम इंटेंट्स को हैंडल करने के लिए एक सीधी-आसान API प्रदान करता है। उपयोग में आसानी के लिए डिज़ाइन किया गया है, यह बॉयलरप्लेट कोड को कम करता है और उपकरणों के बीच सुसंगत व्यवहार सुनिश्चित करता है। पैकेज को अपने मौजूदा प्रोजेक्ट में न्यूनतम सेटअप के साथ बिना किसी दिक्कत के एकीकृत किया जा सकता है।

उपयोग

  • ब्राउज़र में वेब लिंक खोलें
  • एप्लिकेशन से सीधे ईमेल भेजना
  • फोन कॉल शुरू करना
  • SMS संदेश भेजना
  • मूल ऐप्स के माध्यम से सामग्री साझा करना
  • बाहरी सेवाओं को लॉन्च करना

मुख्य विशेषताएँ

  • सरल एक पंक्ति के विधि कॉल
  • प्लेटफॉर्म के अनुकूलता
  • URL, ईमेल, कॉल और SMS का समर्थन करता है
  • आवश्यक न्यूनतम कॉन्फ़िगरेशन
  • एम्बेडेड त्रुटि संभाल
  • मोबाइल, डेस्कटॉप और वेब पर काम करता है

इनके लिए उपयुक्त

  • त्वरित इच्छा एकीकरण की खोज करने वाले विकासकर्ता
  • मूलभूत साझाकरण या संचार विशेषताओं की आवश्यकता वाले ऐप्स
  • न्यूनतम निर्भरता वाले प्रोजेक्ट्स
  • Flutter नेविगेशन सीखते शुरुआती लोग
  • प्रोटोटाइप और एमवीपी

विचार योग्य बातें

  • मूलभूत लॉन्च संचालनों तक सीमित
  • डीप लिंकिंग के लिए कोई कस्टमाइजेशन नहीं
  • मानक प्रोटोकॉल के अलावा कस्टम URL स्कीम का समर्थन नहीं करता है
  • प्रणाली-स्तरीय हैंडलर पर निर्भर करता है
  • जटिल नेविगेशन फ्लो के लिए उपयुक्त नहीं

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

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 All plateforms

Getting started

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

flutter pub add easy_url_launcher

Import pakage

import 'pakage:easy_url_launcher/easy_url_launcher.dart';

Demo

Easy Launcher Demo

Usage

  • You are free to use async & await in your code.
    Column(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            children: [
              MaterialButton(
                color: Colors.green,
                onPressed: () async {
                  await EasyLauncher.call(number: "767676776");
                },
                child: const Text("Call to a number"),
              ),
              MaterialButton(
                color: Colors.greenAccent,
                onPressed: () async {
                  await EasyLauncher.call(number: "*123#");
                },
                child: const Text("Run a ussd code"),
              ),
              MaterialButton(
                color: Colors.blue,
                onPressed: () async {
                  await EasyLauncher.sms(number: "1010", message: "Hello");
                },
                child: const Text("Send a sms"),
              ),
              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(
                color: Colors.deepPurple,
                textColor: Colors.white,
                onPressed: () async {
                  await EasyLauncher.url(url: "https://pub.dev");
                },
                child: const Text("Open url"),
              ),
              MaterialButton(
                color: Colors.red,
                textColor: Colors.white,
                onPressed: () async {
                  await EasyLauncher.openMap(
                      lati: "36.7032925", long: "67.1891222");
                },
                child: const Text("Open Google map"),
              ),
              MaterialButton(
                color: Colors.pink,
                textColor: Colors.white,
                onPressed: () async {
                  await EasyLauncher.url(
                      url: "https://www.instagram.com/qasim.dev",
                      mode: Mode.platformDefault);
                },
                child: const Text("Open url in default app"),
              ),
               MaterialButton(
                color: Colors.green[700],
                textColor: Colors.white,
                onPressed: () async {
                  await EasyLauncher.sendToWhatsApp(
                      phone: "+93700000000", message: "hi");
                },
                child: const Text("Send to whatsapp"),
              ),
            ],
          ),

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 1 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।