showFlashMode property
Show the flash mode icon button.
If you want to set the FlashMode to a certain mode, typically FlashMode.off, and also hide the button than enables users to change it, then set showFlashMode to false.
Defaults to true.
Implementation
bool showFlashMode = true;