onFlashModeButtonPressed method

void onFlashModeButtonPressed()

Implementation

void onFlashModeButtonPressed() {
  if (_flashModeControlRowAnimationController.value == 1) {
    _flashModeControlRowAnimationController.reverse();
  } else {
    _flashModeControlRowAnimationController.forward();
  }
}