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';
5
likes
160
points
161
downloads

Publisher

unverified uploader

Weekly Downloads

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