Torch class
Welcome Torch library world.
I used torch implement to native application until now. think to torch implement How about it apply to Flutter people.
so I made this Torchx Library :)
Properties
Methods
-
dispose(
) → void - dispose exit your application include dispose method before define super.dispose method
-
flashOff(
) → void - flashOff device Torch(FlashLight) 'OFF' Function
-
flashOn(
) → void - flashOn device Torch(FlashLight) 'ON' Function
-
flashOnLevel(
{required double strengthLevel}) → void - flashOnLevel device Torch(FlashLight) 'ON' with control strengthLevel(torch level)
-
getLevel(
) → Future< double> - getLevel you can get current device torch's strengthLevel(torch level, flashlight level)
-
getPlatformVersion(
) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLevel(
{required double strengthLevel}) → void - setLevel you can put device's torch level before flashOn function effect torch level
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited