signal_strength 0.0.5 signal_strength: ^0.0.5 copied to clipboard
Get your phones current signal strengths. Currently only works on android.
signal_strength #
A android flutter plugin to get the current signal strengths. Only works on Android.
Usage #
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());
Todo: #
- Ios implementation?
- Add more methods from the android SDK?