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

PlatformAndroid

Get your phones current signal strengths. Currently only works on android.

signal_strength #

pub package

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
160
pub points
87%
popularity

Publisher

unverified uploader

Get your phones current signal strengths. Currently only works on android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on signal_strength