inactivity_detector library

Classes

InactivityDetector
Widget that detects user inactivity and triggers callbacks or dialogs after a specified duration.

Enums

CountdownPosition
Enum defining the available positions for the countdown overlay.

Mixins

InactivityAwareTextControllerMixin<T extends StatefulWidget>
Mixin for creating a TextEditingController that notifies InactivityDetector of user interaction on every text change. Use this instead of a regular controller to ensure typing resets inactivity timers.