Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejni_flutter

Access Flutter Android APIs from Dart.

pub.devRemove
torch_controller

A Flutter plugin to manage and toggle the device torch or flashlight.

pub.devRemove
ScoresHealth87 (best)47
Maintenance99 (best)0
Quality100 (best)96
Popularity69 (best)36
Community80 (best)34
Compatibility79100 (best)
UsageDownloads (30 days)3.5M (best)1.7k
Likes1627 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars281 (best)5
MaintenanceLatest release1.1.0, 2 days ago (best)2.0.1, 4 years ago
Major versions in 12 months00
Contributors100+ (best)6
Publisherdart.devUnverified
FitPlatformsAndroidAndroid, iOS
WASM-readyNoNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies10 (best)
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Simple API surface
  • No code generation required
  • Stable, well-maintained
  • Simple singleton controller interface
  • Supports toggling lights and returning current state easily
Weaknesses
  • Android-only
  • No support for iOS or web
  • Requires plugin integration
  • Requires explicit initialization before runApp
  • Limited to flashlight control functionality
Warnings
  • Native setup
  • Native setup
jni_flutter vs torch_controller: which Flutter package should you use? | pubscout