netstatus 0.1.2 copy "netstatus: ^0.1.2" to clipboard
netstatus: ^0.1.2 copied to clipboard

Unified network + real internet status Stream with configurable checks, multi-platform, pure Dart Streams.

0.1.2 #

Fixes #

  • Applied dart format to align with pub.flutter-io.cn formatter checks (no functional changes).

0.1.1 #

Improvements #

  • Added comprehensive dartdoc for public API (enums, config fields, service methods) to improve pub score and developer experience.
  • Fixed dangling library doc by adding library netstatus; and top-level docs on the public export.
  • Updated issue_tracker in pubspec to a reachable URL.

No runtime behavior changes; API remains backward compatible.

0.1.0 #

Initial Release

Features #

  • 🌐 Unified Status Stream: Single Stream<NetStatus> with noNetwork, networkOnly, internet
  • πŸ” Connection Type Detection: NetType classification (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 detection
  • http: ^1.2.2 - HTTP connectivity checks
  • web: ^1.1.0 - Modern web APIs (replaces deprecated dart:html)
  • meta: ^1.16.0 - Annotations
1
likes
160
points
37
downloads

Publisher

verified publisherkidpech.app

Weekly Downloads

Unified network + real internet status Stream with configurable checks, multi-platform, pure Dart Streams.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, http, meta, web

More

Packages that depend on netstatus