internet_popup 1.0.0 copy "internet_popup: ^1.0.0" to clipboard
internet_popup: ^1.0.0 copied to clipboard

outdated

A package for popUp message when Internet connection is off

internet_popup #

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

App Screenshot

Installation #

In your pubspec.yaml

 dependencies:
    internet_popup: ^1.0.0
 import 'package:internet_popup/internet_popup.dart';

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 ***/);
52
likes
0
pub points
83%
popularity

Publisher

unverified uploader

A package for popUp message when Internet connection is off

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

connectivity_plus, data_connection_checker_tv, flutter, sizer

More

Packages that depend on internet_popup