torch_plus 0.0.1 copy "torch_plus: ^0.0.1" to clipboard
torch_plus: ^0.0.1 copied to clipboard

A package that we can use to easily turn the phone's flashlight on and off

Torch Plus #

It is an updated package that lets you turn on or off your phone's flashlight or toggle it.

pub

Features #

  • Turn on the flashlight
  • Turn off the flashlight
  • Toggle the flashlight
  • Access data on whether the flashlight is on or not

Usage #

Turn On 🚀

await TorchPlus.turnOn()

Turn Off 🚀

await TorchPlus.turnOff()

Toggle 🚀

await TorchPlus.toggle()

Is Torched 🚀

await TorchPlus.isTorched()
3
likes
140
points
13
downloads

Publisher

verified publisheryusufnadaroglu.com

Weekly Downloads

A package that we can use to easily turn the phone's flashlight on and off

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on torch_plus

Packages that implement torch_plus