flash_light42 0.0.1
flash_light42: ^0.0.1 copied to clipboard
A plugin to activate the torch for android and ios devices.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flash_light42This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flash_light42: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flash_light42/flash_light.dart';
import 'package:flash_light42/flash_light_method_channel.dart';
import 'package:flash_light42/flash_light_platform_interface.dart';