smart_fetch 1.0.7 copy "smart_fetch: ^1.0.7" to clipboard
smart_fetch: ^1.0.7 copied to clipboard

Beautiful full-screen error pages for server side errors and no internet connection state.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add smart_fetch

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

dependencies:
  smart_fetch: ^1.0.7

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:smart_fetch/smart_fetch.dart';
2
likes
150
points
151
downloads

Publisher

unverified uploader

Weekly Downloads

Beautiful full-screen error pages for server side errors and no internet connection state.

Repository (GitHub)

Topics

#flutter #error-handling #timeout #no-internet #server-error

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, http, lottie

More

Packages that depend on smart_fetch