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 :)
- Implemented types
Properties
Methods
-
dispose(
) → void -
dispose
exit your application include dispose method before
define super.dispose method
override
-
flashOff(
) → void -
flashOff
device Torch(FlashLight) 'OFF' Function
override
-
flashOn(
) → void -
flashOn
device Torch(FlashLight) 'ON' Function
override
-
flashOnLevel(
{required double strengthLevel}) → void -
flashOnLevel
device Torch(FlashLight) 'ON' with control strengthLevel(torch level)
override
-
getLevel(
) → Future< double> -
getLevel
you can get current device torch's strengthLevel(torch level, flashlight level)
override
-
getPlatformVersion(
) → Future< String?> -
override
-
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
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited