torch_controller 1.0.0 copy "torch_controller: ^1.0.0" to clipboard
torch_controller: ^1.0.0 copied to clipboard

outdated

A controller to manage torch/flash device resource. We give you access to native resources to toggle flashlight, to natively check torch status and more!

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add torch_controller

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

dependencies:
  torch_controller: ^1.0.0

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_controller/torch_controller.dart';
25
likes
0
pub points
88%
popularity

Publisher

unverified uploader

A controller to manage torch/flash device resource. We give you access to native resources to toggle flashlight, to natively check torch status and more!

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on torch_controller