internet_state_manager 1.10.1+3
internet_state_manager: ^1.10.1+3 copied to clipboard
Seamless internet connection management for Flutter. Auto-detect, handle outages, and restore state with minimal code.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add internet_state_managerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
internet_state_manager: ^1.10.1+3Alternatively, 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';