internet_state_manager 1.9.0
internet_state_manager: ^1.9.0 copied to clipboard
A Flutter package for seamless internet connection management. Automatically detect connectivity changes, handle outages with customizable widgets, and execute logic when the connection is restored—al [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add internet_state_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
internet_state_manager: ^1.9.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:internet_state_manager/internet_state_manager.dart';