offline_banner 1.0.0 copy "offline_banner: ^1.0.0" to clipboard
offline_banner: ^1.0.0 copied to clipboard

A customizable Flutter widget that shows an animated banner when offline and an online popup when internet is restored, with retry support and configurable position.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add offline_banner

With Flutter:

 $ flutter pub add offline_banner

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

dependencies:
  offline_banner: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:offline_banner/offline_banner.dart';
1
likes
0
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter widget that shows an animated banner when offline and an online popup when internet is restored, with retry support and configurable position.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, flutter, plugin_platform_interface

More

Packages that depend on offline_banner

Packages that implement offline_banner