bluetoothSignalIcon method
Implementation
IconData bluetoothSignalIcon(int strength) {
if (strength > -60) {
return Icons.signal_cellular_alt_rounded;
} else if (strength > -80) {
return Icons.signal_cellular_alt_2_bar_rounded;
} else {
return Icons.signal_cellular_alt_1_bar_rounded;
}
}