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

Zero-overhead Flutter flashlight (torch) plugin built with Nitro. Controls device torch via direct Dart FFI — no method channels — with brightness levels, state streams, and nullable level queries.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add nitro_torch

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

dependencies:
  nitro_torch: ^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:nitro_torch/nitro_torch.dart';
1
likes
150
points
149
downloads

Documentation

API reference

Publisher

verified publishershreeman.dev

Weekly Downloads

Zero-overhead Flutter flashlight (torch) plugin built with Nitro. Controls device torch via direct Dart FFI — no method channels — with brightness levels, state streams, and nullable level queries.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, nitro, nitro_annotations, plugin_platform_interface

More

Packages that depend on nitro_torch

Packages that implement nitro_torch