Search packages, repositories and app categories

Package detailsv4.0.1

flml_internet_checker

This package aims to check internet connection by just wrapping the widget with InternetChecker Widget without using any function calls inside your app"

AndroidiOSWebmacOSWindowsLinux
30-day downloads
704
Likes
40
Pub points
160

Install package

flutter pub add flml_internet_checker

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The flml_internet_checker package provides a simple way to monitor internet connectivity in Flutter apps by wrapping any widget with the InternetChecker widget. It requires no function calls within the app code, automatically detecting online or offline states. The package works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux. It is ideal for apps that need real-time network status updates without complex setup. Its lightweight design focuses on ease of integration and immediate feedback.

Use cases

  • Real-time network status monitoring
  • Offline mode UI handling
  • Auto-refresh based on connectivity
  • App behavior adaptation
  • Seamless user experience during connectivity changes

Key features

  • Zero-function-call integration
  • Automatic connection detection
  • Cross-platform support
  • Minimal boilerplate
  • Widget-based wrapper approach

Suitable for

  • Simple connectivity checks
  • Apps requiring instant network feedback
  • Developers seeking quick implementation
  • UIs that adapt to online/offline states
  • Projects with minimal network logic

Considerations

  • Limited to basic connectivity status
  • No advanced network diagnostics
  • Relies on system-level network APIs
  • Does not handle proxy or firewall scenarios
  • No customization for connection quality

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.

Categories

Source repository

Projects using this package

No data available yet.