FLUTTER ECOSYSTEM

FirstLogicMetaLabPvtLTD/flml_internet_checker

FirstLogicMetaLabPvtLTD/flml_internet_checker open-source repository details.

flml_internet_checker 프로젝트 이미지
Stars
2
Forks
0
최근 푸시(UTC)
2025. 1. 2.
프로젝트 상태
활성
First Logic Meta Lab GitHub avatar
GITHUB Organization

First Logic Meta Lab ↗

India
언어DartHTMLSwiftKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Internet connectivity checking package.

A Flutter package to check your internet connection by just wrapping the Scaffold with InternetChecker Widget.


Permissions

Android

Add the following permissions to your AndroidManifest.xml file:

<uses-permission android:name="android.permission.INTERNET" />
macOS

Add the following permissions to your macOS .entitlements files:

<key>com.apple.security.network.client</key>
<true/>

Usage

1. Add dependency

Add the flml_internet_checker package to your pubspec.yaml file:

dependencies:
  flml_internet_checker: ^1.0.0
2. Import the package

Import the flml_internet_checker package into your Dart file:

import 'package:flml_internet_checker/flml_internet_checker.dart';
Example
InternetChecker(
      placeHolder: Lottie.asset(
        "assets/no_internet.json",
        height: 250,
      ),
      internetConnectionText: "No Internet Connection",
      child: const Scaffold(
        body: Center(
          child: Text("You are Online"),
        ),
      ),
    );

Credits

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.