signal_strength 0.0.1 copy "signal_strength: ^0.0.1" to clipboard
signal_strength: ^0.0.1 copied to clipboard

outdated

Get your phones current signal strengths.

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?
7
likes
0
pub points
87%
popularity

Publisher

unverified uploader

Get your phones current signal strengths.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on signal_strength