dio_speed_tracker 0.0.1 copy "dio_speed_tracker: ^0.0.1" to clipboard
dio_speed_tracker: ^0.0.1 copied to clipboard

A lightweight and extensible Dio interceptor for monitoring real-world network speed in Mbps, based on actual HTTP download performance. Emits NetworkStatus.poor when the average speed drops below a c [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dio_speed_tracker

With Flutter:

 $ flutter pub add dio_speed_tracker

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

dependencies:
  dio_speed_tracker: ^0.0.1

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:dio_speed_tracker/dio_speed_tracker.dart';
4
likes
0
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight and extensible Dio interceptor for monitoring real-world network speed in Mbps, based on actual HTTP download performance. Emits NetworkStatus.poor when the average speed drops below a customizable threshold. Unlike custom_ping, this works in restricted environments without requiring ICMP (ping) support.

Repository (GitHub)
View/report issues

Topics

#network #dio #performance #connection #speed

Documentation

Documentation

License

unknown (license)

Dependencies

collection, dio, flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on dio_speed_tracker