flashIcon static method
Implementation
static IconData flashIcon(UFlashMode mode) {
switch (mode) {
case UFlashMode.off:
return Icons.flash_off_rounded;
case UFlashMode.auto:
return Icons.flash_auto_rounded;
case UFlashMode.on:
return Icons.flash_on_rounded;
case UFlashMode.torch:
return Icons.highlight_rounded;
}
}