Plugin to turn on / off the torch (or flash of the camera) on all supported versions of Android (4.1+) and iOS
Torch compat #
A plugin to enable or disable the torch of a device that works both on Android (including Android 4.x) and ioS.
Getting started #
1) Dependency setup #
First import the library to your project in your
2) Import the library in your Dart code #
3) Turn on or off the flash #