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 ↗