flml_internet_checker
इस पैकेज का लक्ष्य आपके ऐप में कोई फ़ंक्शन कॉल किए बिना, बस विजेट को InternetChecker विजेट के साथ लपेटकर इंटरनेट कनेक्शन की जांच करना है
FirstLogicMetaLabPvtLTD/flml_internet_checker open-source repository details.
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A Flutter package to check your internet connection by just wrapping the Scaffold with InternetChecker Widget.
Add the following permissions to your AndroidManifest.xml file:
<uses-permission android:name="android.permission.INTERNET" />
Add the following permissions to your macOS .entitlements files:
<key>com.apple.security.network.client</key>
<true/>
Add the flml_internet_checker package to your pubspec.yaml file:
dependencies:
flml_internet_checker: ^1.0.0
Import the flml_internet_checker package into your Dart file:
import 'package:flml_internet_checker/flml_internet_checker.dart';
InternetChecker(
placeHolder: Lottie.asset(
"assets/no_internet.json",
height: 250,
),
internetConnectionText: "No Internet Connection",
child: const Scaffold(
body: Center(
child: Text("You are Online"),
),
),
);
This package is a cloned and modified version of the internet_connection_checker_plus package.
The aim of this package is just to check the internet connectivity without putting the functions into the project and just wrap the widget with InternetChecker Widget.
निर्भरता सूची 4 आइटम
{"sdk":"flutter"}^2.7.0{"sdk":"flutter"}^2.0.0उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗