flutter_network_doctor library
Production-grade network diagnostics for Flutter applications.
Classes
- FlutterNetworkDoctor
- Runs a structured set of network diagnostics and returns one report.
- FlutterNetworkDoctorDartPlugin
- No-op registration entry point for Dart-only desktop implementations.
- GatewayReachabilityResult
- Result of probing the local Wi-Fi gateway.
- NetworkBecameOffline
- Emitted when internet reachability was lost.
- NetworkBecameOnline
- Emitted when internet reachability was gained.
- NetworkCheckConfig
- Configuration for a lightweight network status check.
- NetworkDegraded
- Emitted when the network became reachable but unhealthy.
- NetworkDoctorBanner
- Material banner that reflects live network state from a NetworkDoctorMonitor.
- NetworkDoctorBannerData
- State handed to a NetworkDoctorBanner custom builder.
- NetworkDoctorBannerLabels
- Text shown by a NetworkDoctorBanner.
- NetworkDoctorCancellationToken
- Cancels an in-progress network diagnostic run.
- NetworkDoctorConfig
- Configuration for a network diagnostic run.
- NetworkDoctorMonitor
- Watches network state continuously and reports changes as streams.
- NetworkDoctorPanel
- Material support panel that runs diagnostics and presents the result.
- NetworkDoctorPanelLabels
- Text shown by a NetworkDoctorPanel.
- NetworkDoctorProgress
- Progress update for a diagnostic run.
- NetworkDoctorReport
- Complete result of a network diagnostic run.
- NetworkMonitorConfig
- Configuration for a continuous network monitor.
- NetworkMonitorEvent
- Transition observed by a continuous network monitor.
- NetworkProbeResult
- Result of one network diagnostic probe.
- NetworkQualityResult
- Aggregated quality metrics from repeated network samples.
- NetworkRecovered
- Emitted when a degraded network became healthy again.
- NetworkStatus
- Lightweight snapshot of network state.
- NetworkTransportChanged
- Emitted when the set of active transports changed.
- PlatformNetworkInfo
- Native network characteristics reported by the operating system.
- WifiNetworkInfo
- Wi-Fi and local-network metadata.
Enums
- GatewayReachability
- Whether the local gateway responded at the network layer.
- LocalNetworkPermissionStatus
- Android local-network permission readiness.
- NetworkBannerVisibility
- Decides which observed states a NetworkDoctorBanner is visible for.
- NetworkDoctorProgressStage
- Stages emitted while a diagnostic run is in progress.
- NetworkHealth
- Overall network health classification.
- NetworkHealthPolicy
- Controls which failed probes degrade an otherwise reachable network.
- NetworkPathStatus
- Availability state of an Apple network path snapshot.
- NetworkProbeErrorCode
- Stable machine-readable error categories for failed probes.
- NetworkQualityMeasurementMethod
- Transport used to sample connection quality.
- NetworkTransport
- Network transports that may currently be active.
- ProbeStatus
- Status of an individual diagnostic probe.
Typedefs
- NetworkDoctorBannerBuilder = Widget Function(BuildContext context, NetworkDoctorBannerData data)
- Builds the visible content of a NetworkDoctorBanner.
- NetworkDoctorProgressCallback = void Function(NetworkDoctorProgress progress)
- Receives progress updates from a diagnostic run.
Exceptions / Errors
- NetworkDoctorCancelledException
- Thrown when a diagnostic run is cancelled by its caller.
- NetworkDoctorTimeoutException
- Thrown when a diagnostic run exceeds its overall deadline.