slow_net_simulator 1.0.0
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_simulatorpackage. - Introduced
SlowNetSimulator.configurefor setting network speed and failure probability. - Added predefined network speeds:
GPRS_2G,EDGE_2G,HSPA_3G, andLTE_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
simulatefunction. - Included example usage in README with dynamic failure probability adjustment.