audioOutputIcon static method
Implementation
static IconData audioOutputIcon(String audioValue) {
switch (audioValue) {
case 'speaker':
return Icons.volume_up;
case 'earpiece':
return Icons.volume_down;
case 'bluetooth':
return Icons.bluetooth;
case 'wired-headset':
return Icons.headphones;
default:
return Icons.volume_down;
}
}