skip to Main Content

I want to implement a feature to get and record nearby Wi-Fi SSID and signal lists. I found that the wifi_info_flutterplugin was outdated. Which plugin or method can do the same feature? Thank you.

2

Answers


  1. Chosen as BEST ANSWER

    I found that wifi_scan can do that. Thank you very for all comments


  2. You can use these 2 packages: connectivity_plus
    and network_info_plus

    final ConnectivityResult connectivityResult = await Connectivity().checkConnectivity();
    if (connectivityResult == ConnectivityResult.wifi) {
      // Get the Wi-Fi's SSID
      final String ssid = await NetworkInfo().getWifiName();
    
      print('Wi-Fi SSID: $ssid');
    
    } else {
      print('Device not connected');
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search