connectivity_wall 1.0.8 connectivity_wall: ^1.0.8 copied to clipboard
Connectivity wall redirect user to a widget when offline and another if online
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add connectivity_wall
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
connectivity_wall: ^1.0.8
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:connectivity_wall/connectivity_wall.dart';