torch_light
一个 Flutter 插件,用于检查设备是否具有手电筒/闪光灯,并可开启和关闭。
这是一个基于 Flutter/Dart 的简单移动应用:您触摸屏幕时,灯光就会打开。只要您不抬起手指,灯光就会一直亮着!
{"sdk":"flutter"}^1.0.2^1.1.0^0.13.1{"sdk":"flutter"}^2.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
App logo
This is a simple Flutter/Dart-based mobile app: You touch the screen and the light turns on. The light stays on until you lift you finger off the screen!
As unbelievable as it might seem, this, to our knowledge, is the first app that enables your device's flashlight as long as your finger is in contact with the screen.
Or download the latest APK from the Releases Section.
The whole app is written with less than 100 lines of Flutter/Dart code.
.lib >
App artwork 1 App artwork 2 App artwork 3
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
TL;DR: Do whatever you want with the code!