dio_speed_tracker 0.0.2 copy "dio_speed_tracker: ^0.0.2" to clipboard
dio_speed_tracker: ^0.0.2 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 [...]

[0.0.2] - 2025-03-13 #

  • Update readme

[0.0.1] - 2025-03-13 #

  • Initial release of dio_speed_tracker.
  • Added NetworkSpeedController to track average download speed in Mbps.
  • Added SpeedInterceptor to integrate with Dio and measure real request speed.
  • Emits NetworkStatus.poor when connection speed drops below a defined threshold.
  • Suitable as a real-world alternative to custom_ping with no ICMP or extra requests.
  • Includes unit tests and Flutter example.
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