FLUTTER ECOSYSTEM

mehedidew/internet_popup

Ein Paket, das eine Popup-Anzeige erstellt, wenn keine Internetverbindung besteht

Projektcover von internet_popup
Stars
6
Forks
2
Letzter Push (UTC)
10.09.2026
Projektstatus
Aktiv
DropDew GitHub avatar
GITHUB User

DropDew ↗

Flutter/ Android Developer

Dhaka
SprachenDart

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 4 Einträge

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

internet_popup

A package that shows a pop up alert when the internet connection is lost

GitHub License

App Screenshot

Features

  • auto popUp
  • option to fix or pop the warning
  • one line implementation
  • callBack function to do something after internet connectivity status change

Usage

initialize InternetPopup class and add context inside initState() funtion of the top of your widget tree.

 InternetPopup().initialize(context: context);

when the widget is popped from widget tree, initialize it again on next page.

If you want your own widget to popUp, use

 InternetPopup().initializeCustomWidget(context: context, widget: /*** your custom widget ***/);

You can write custom message title and description using customMessage and customDescription parameter inside initialize.

use onTapPop parameter to decide if the box can be removed before internet connection is back online.

You can use checkInternet function to get a Future value to check connectivity manually before some task.

 bool isConnected = await InternetPopup().checkInternet();