resetLockTimer method
void
resetLockTimer()
Resets the lock timer, extending the time before automatic lock
This method is useful when you want to keep the app unlocked for longer during active user interaction.
Example usage:
// Reset lock timer on user interaction
GestureDetector(
onTap: () {
context.resetLockTimer();
// Handle tap
},
child: SomeWidget(),
);
Implementation
void resetLockTimer() {
final guardoState = _findGuardoStateNotifier();
guardoState?.resetLockTimer();
}