showTorchButton property

bool? get 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;
set showTorchButton (bool? val)

Implementation

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