LecleScreenManager class

Simple class to call for invoking the method that get and set the brightness and keep screen on in Android and iOS device

Constructors

LecleScreenManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

brightness Future<double>
Static property to get the screen current brightness
no setter
isKeptOn Future<bool>
Static property to get is the screen is keeping on or not
no setter

Static Methods

keepOn(bool on) Future<void>
Static method to set the screen keeping on or not
setBrightness(double brightness) Future<void>
Static method to set the screen brightness