signal_strength
0.0.5, released 4 years ago by an unverified publisher
Android plugin to read current cellular and Wi‑Fi signal strengths.
What it does
Provides async methods to check if the device is on cellular or Wi‑Fi and to retrieve the current signal strengths. It exposes a simple API with no external dependencies beyond Flutter.
AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to monitor network signal strength for debugging or UI feedback
- You want to display signal bars or log connectivity quality in an Android app
Skip it when
- You target iOS or cross‑platform apps
- You need a comprehensive network monitoring solution with more metrics
Strengths
- Very small dependency footprint
- Straightforward API, no code generation required
- Supports both cellular and Wi‑Fi signal queries
Weaknesses
- Only works on Android
- Requires SDK 23+, and devices below SDK 28 cannot report cellular strength
- No iOS implementation
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the dependency to pubspec.yaml and import the package. No native configuration or permissions are required.
import 'package:signal_strength/signal_strength.dart';
final plugin = SignalStrength();
final isCellular = await plugin.isOnCellular();
final wifiStrength = await plugin.getWifiSignalStrength();Alternatives
Packages that do the same job and could replace signal_strength.
- app_settings
Open iOS and Android phone settings pages from a Flutter app.
89Compare - screen_state
Tracks screen state events on Android and iOS.
81Compare - get_phone_number
Get real phone number from Android device.
56Compare - flutter_internet_signal
Retrieves mobile and Wi-Fi internet signal strength in dBm on Android.
64Compare
Works with
Packages commonly used together with signal_strength: ones it builds on, ones built on it, and its own family.