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

Flutter plugin for network diagnostics: connectivity check, ping, DNS resolution, speed test, port scanning, quality scoring and micro-benchmarks on Android, iOS, macOS, Windows and Linux.

Changelog #

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 #

Added #

  • ConnectivityNetworkDiagnostic.checkConnection() returns a NetworkConnectionInfo snapshot with transport type, IPv4/IPv6, gateway, Wi-Fi SSID, signal strength (dBm), MAC address and VPN detection. NetworkDiagnostic.onConnectivityChanged streams a fresh snapshot on every change.
  • PingNetworkDiagnostic.ping() measures latency with TCP handshake round trips on every platform, and can use the system ICMP ping command on desktop (PingMode.icmp). PingResult reports sent/received, packet loss, min/avg/max and jitter.
  • DNSNetworkDiagnostic.resolve() queries system plus any explicit resolvers over raw UDP, using the built-in DNS wire-format codec (DnsPacket), with concurrent or serialised execution and per-server DnsTestResult.
  • Speed testNetworkDiagnostic.runSpeedTest() measures download and upload throughput plus latency/jitter/packet loss, with progress callbacks via SpeedTestProgress.
  • Port checkNetworkDiagnostic.checkPort() returns a PortCheckResult (use isPortOpen() for a plain boolean) and scanPorts() performs bounded-concurrency TCP reachability checks.
  • Quality scoreNetworkDiagnostic.evaluateQuality() and NetworkQualityEvaluator produce a 0–100 weighted score with a NetworkQualityLevel and actionable suggestions.
  • Full reportNetworkDiagnostic.diagnose() aggregates every probe into a NetworkDiagnosticReport.
  • BenchmarksNetworkBenchmark.runAll() and friends measure the diagnostics API itself and return BenchmarkSuiteResult.
  • ConfigurationNetworkDiagnosticConfig centralises hosts, timeouts, payload sizes and quality targets; ZeroNetworkKit.init() applies it globally and dispose() releases the owned HTTP client.
  • Native channelgetPlatformVersion() and getNetworkDetails() implemented for Android (Kotlin) and iOS (Swift).
  • Desktop platforms — Windows, macOS and Linux are now supported (pubspec.yaml declares them); getPlatformVersion() and getNetworkDetails() are implemented for each. On desktop, SSID / signal strength are null; Windows additionally exposes gateway / MAC / VPN via the native layer.
  • CapabilitiesNetworkDiagnostic.capabilities returns NetworkCapabilities, so callers can query-then-call and hide unsupported cards (e.g. SSID on desktop).
  • Advanced API — services, ConnectivityAdapter, QualityEvaluator and the DnsPacket codec moved into package:zero_network_kit/advanced.dart; the root barrel stays small (models + facades + config).
0
likes
0
points
28
downloads

Documentation

Documentation

Publisher

verified publisherzerolabsco.com

Weekly Downloads

Flutter plugin for network diagnostics: connectivity check, ping, DNS resolution, speed test, port scanning, quality scoring and micro-benchmarks on Android, iOS, macOS, Windows and Linux.

Repository (GitHub)
View/report issues

Topics

#network #diagnostics #speed-test #ping #dns

License

unknown (license)

Dependencies

connectivity_plus, flutter, http, plugin_platform_interface

More

Packages that depend on zero_network_kit

Packages that implement zero_network_kit