torch_flashlight 0.0.2 copy "torch_flashlight: ^0.0.2" to clipboard
torch_flashlight: ^0.0.2 copied to clipboard

A Flutter plugin for controlling the torch (flashlight) on/off functionality in mobile devices.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add torch_flashlight

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  torch_flashlight: ^0.0.2

Alternatively, 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:torch_flashlight/torch_flashlight.dart';
4
likes
160
pub points
72%
popularity

Publisher

unverified uploader

A Flutter plugin for controlling the torch (flashlight) on/off functionality in mobile devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on torch_flashlight