auto_refresh_on_reconnect 0.1.0 copy "auto_refresh_on_reconnect: ^0.1.0" to clipboard
auto_refresh_on_reconnect: ^0.1.0 copied to clipboard

A lightweight Flutter package that automatically refreshes widgets when internet connection is restored.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add auto_refresh_on_reconnect

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  auto_refresh_on_reconnect: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:auto_refresh_on_reconnect/auto_refresh_on_reconnect.dart';
2
likes
150
points
39
downloads

Documentation

Documentation
API reference

Publisher

verified publisherconalyz.com

Weekly Downloads

A lightweight Flutter package that automatically refreshes widgets when internet connection is restored.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

connectivity_plus, flutter, http

More

Packages that depend on auto_refresh_on_reconnect