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

A Flutter package to simulate different network conditions for testing purposes.

1.0.0 #

Changelog #

All notable changes to this project will be documented in this file.

[1.0.0] - 2024-12-30 #

Added #

  • Initial release of the slow_net_simulator package.
  • Introduced SlowNetSimulator.configure for setting network speed and failure probability.
  • Added predefined network speeds: GPRS_2G, EDGE_2G, HSPA_3G, and LTE_4G.
  • Enabled simulation of network requests using SlowNetSimulator.simulate.
  • Provided an overlay button for runtime control of network speed and failure probability.
  • Added support for Dio and any asynchronous HTTP client in the simulate function.
  • Included example usage in README with dynamic failure probability adjustment.
4
likes
160
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to simulate different network conditions for testing purposes.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on slow_net_simulator