camera_flash
Plugin support open flashlight in camera
Getting Started
This plugin base on camera of Flutter : https://flutter.dev/docs/cookbook/plugins/picture-using-camera
How to use?
Let use FlashCameraController
instead of CameraController
when initializing
So that you are able to call :
// for turning on await _controller.turnOnFlash();
// for turning off await _controller.turnOffFlash();