flutter_network_throttler 1.1.0 copy "flutter_network_throttler: ^1.1.0" to clipboard
flutter_network_throttler: ^1.1.0 copied to clipboard

Simulate slow, unreliable, or failing network conditions in Flutter apps to test loading, timeout, and error states.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_network_throttler

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

dependencies:
  flutter_network_throttler: ^1.1.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:flutter_network_throttler/flutter_network_throttler.dart';
0
likes
160
points
234
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Simulate slow, unreliable, or failing network conditions in Flutter apps to test loading, timeout, and error states.

Repository (GitHub)
View/report issues
Contributing

Topics

#network #testing #http #dio #simulation

License

MIT (license)

Dependencies

dio, flutter, http, meta, stream_channel, web_socket_channel

More

Packages that depend on flutter_network_throttler