wifi_scan_desktop 0.0.7 copy "wifi_scan_desktop: ^0.0.7" to clipboard
wifi_scan_desktop: ^0.0.7 copied to clipboard

Flutter plugin to scan for nearby visible WiFi access points in windows and macosx

wifi_scan_desktop #

pub package

This plugin allows Flutter apps to scan for nearby visible WiFi access points in Windows and macOS

Usage #

To use this plugin, add wifi_scan_desktop as a dependency in your pubspec.yaml file.

Start scan #

You can trigger full WiFi scan with performScan API, as shown below:

void _scan() async {
   WifiScanDesktop _wifiScanDesktopPlugin = WifiScanDesktop();
  // start full scan async-ly
   _wifiScanDesktopPlugin.performScan((data) async {
    // scan completed 
  }, (error) {
    // scan completed with error
  });
}

Get scanned results #

You can get scanned results with getAvailableNetworks API, as shown below:

NOTE: This API can also be used separately which retrieves the list of available networks on a wireless LAN interface.

void _getAvailableNetworks() async {
  // get scanned results
  List<AvailableNetwork>? result = await _wifiScanDesktopPlugin.getAvailableNetworks();
  
}

Issues and feedback #

Please file WiFiFlutter specific issues, bugs, or feature requests in our issue tracker.

5
likes
150
pub points
61%
popularity

Publisher

verified publisherdregmorr.com

Flutter plugin to scan for nearby visible WiFi access points in windows and macosx

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on wifi_scan_desktop