showTorchButton property

bool? showTorchButton

If it's set to true, the button that allows you to turn on/off the torch will be displayed.

Default: true.

Implementation

bool? get showTorchButton => _showTorchButton;
void showTorchButton=(bool? val)

Implementation

set showTorchButton(bool? val) {
  _showTorchButton = val;
  _set({"showTorchButton": val});
}