A android flutter plugin to get the current signal strengths. Only works on Android.
Add to pubspec.yaml:
signal_strength 0.0.1
Import:
import 'package:signal_strength/signal_strength.dart';
Usage:
var signalStrengthPlugin = SignalStrength();
bool isOnCellular = await signalStrengthPlugin.isOnCellular(),
bool isOnWifi = await signalStrengthPlugin.isOnWifi(),
int? wifiStrength = await signalStrengthPlugin.getWifiSignalStrength(),
List<int>? cellStrength = await signalStrengthPlugin.getCellularSignalStrength());
- Ios implementation - not possible, see https://forums.developer.apple.com/forums/thread/721067
- Add more methods from the android SDK?