idle_timeout_guard library

The IdleTimeoutGuard widget — session-idle detection. See the package README.

Classes

IdleTimeoutGuard
Wraps part of the widget tree and calls onTimeout after timeout has elapsed with no pointer activity anywhere inside it — a session-idle guard for triggering a lock screen, logout, etc. Pure Dart, no native code; works identically on every platform Flutter supports.