netstatus 0.1.0
netstatus: ^0.1.0 copied to clipboard
Unified network + real internet status Stream with configurable checks, multi-platform, pure Dart Streams.
0.1.0 #
Initial Release
Features #
- π Unified Status Stream: Single
Stream<NetStatus>withnoNetwork,networkOnly,internet - π Connection Type Detection:
NetTypeclassification (wifi, mobile, ethernet, vpn, unknown) - βοΈ Highly Configurable: Ping URLs, timeouts, retries, throttling, backoff
- π Multi-Platform: Android, iOS, Web (with WASM), Windows, macOS, Linux
- π Smart Fallbacks: DNS fallback, image-ping for Web CORS, HEADβGET fallback
- π Energy Efficient: Intelligent throttling, trailing recheck, periodic validation
- π Developer Friendly: Logging hooks, error capture, immediate status access
Platform Support #
- β Android (with required permissions)
- β iOS
- β Web (CORS-aware with fallbacks, WASM compatible)
- β Windows
- β macOS
- β Linux
Dependencies #
connectivity_plus: ^6.0.5- Network state detectionhttp: ^1.2.2- HTTP connectivity checksweb: ^1.1.0- Modern web APIs (replaces deprecated dart:html)meta: ^1.16.0- Annotations