on method
Turn on the controller.
If isLock
is true
, the screen will be locked after turning on.
Implementation
void on({bool isLock = true}) {
_on = true;
if (isLock) lock();
}
Turn on the controller.
If isLock
is true
, the screen will be locked after turning on.
void on({bool isLock = true}) {
_on = true;
if (isLock) lock();
}