network_settings_state 0.1.0 copy "network_settings_state: ^0.1.0" to clipboard
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; returns null on iOS (no public API exists).
  • NetworkSettingsState.getSnapshot(): combined one-shot read.
  • NetworkSettingsState.onChanged: stream of NetworkSettingsSnapshot updates.
0
likes
0
points
84
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on network_settings_state

Packages that implement network_settings_state