Flutter plugin to get Wifi Connection Info
Info | Android | iOS |
---|---|---|
ssid | ✔️ | ✔️ |
bssid | ✔️ | ✔️ |
ipAddress | ✔️ | ❌ |
macAddress | ✔️ | ✔️ |
linkSpeed | ✔️ | ❌ |
signalStrength | ✔️ | ❌ |
frequency | ✔️ | ❌ |
networkId | ✔️ | ❌ |
isHiddenSSID | ✔️ | ❌ |
routerIp | ✔️ | ✔️ |
channel | ✔️ | ❌ |
import 'package:wifi_connection/WifiConnection.dart';
import 'package:wifi_connection/WifiInfo.dart';
WifiInfo _wifiInfo = WifiInfo();
_wifiInfo = await WifiConnection.wifiInfo;
print(_wifiInfo.ssid);
...