flashMode property
Set the default flash mode.
Options:
- off: Do not use the flash when taking a picture.
- auto: Device decide whether to flash the camera when taking a picture.
- always: Always use the flash when taking a picture.
- torch: In this app treated the same as using always.
Defaults to FlashMode.auto.
Implementation
FlashMode flashMode = FlashMode.auto;