online_status_checker 0.0.1+1 copy "online_status_checker: ^0.0.1+1" to clipboard
online_status_checker: ^0.0.1+1 copied to clipboard

discontinued

Online Status Checker is an easy to use widget that show an info page if the device is offline.

online_status_checker #

A Widget that checks for the active internet connection status of the device and returns a widget depending on the internet status.

Getting Started #

It designed to be an easy and quick solution for the applications which requires an active internet connection to be ready on the device.

When the device is offline OnlineStatusChecker will return a widget (by default a page that show a message) otherwise the child will be returned.

void main() async {
  runApp(MaterialApp(
      home: OnlineStatusChecker(
        child: HomePage(),
      ),
  ));
}

You can provide the offlineChild, offlineMessage and checkInterval values optionally.

4
likes
80
pub points
0%
popularity

Publisher

verified publisherak.gen.tr

Online Status Checker is an easy to use widget that show an info page if the device is offline.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, internet_connection_checker

More

Packages that depend on online_status_checker