network_settings_state 0.1.0
network_settings_state: ^0.1.0 copied to clipboard
Query whether Wi-Fi and mobile data are enabled in the device's system settings, independent of which network is currently carrying traffic. Complements connectivity_plus rather than replacing it.
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.
0.1.0 - 2026-07-03 #
Added #
NetworkSettingsState.isWifiEnabled(): reliable on Android and iOS (iOS is best-effort via interface availability; see README).NetworkSettingsState.isMobileDataEnabled(): reliable on Android; returnsnullon iOS (no public API exists).NetworkSettingsState.getSnapshot(): combined one-shot read.NetworkSettingsState.onChanged: stream ofNetworkSettingsSnapshotupdates.