flash method

Future<void> flash(
  1. FlashMode mode
)

Implementation

Future<void> flash(FlashMode mode) async {
  await _cameraController!.setFlashMode(mode);
}