FLUTTER ECOSYSTEM

in_app_idle_detector

A Flutter plugin to detect user inactivity (idle) across all platforms.

in_app_idle_detector cover
Latest version
0.0.1
30-day downloads
167
Likes
6
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The in_app_idle_detector package is a cross-platform Flutter plugin that detects user inactivity (idle state) across Android, iOS, Web, macOS, Windows, and Linux. It monitors user interactions such as touch, mouse movements, and keyboard input to determine when the user has been inactive for a specified duration. This enables developers to trigger actions like screen timeouts, session expirations, or automatic logout features. The plugin is lightweight and integrates seamlessly into existing Flutter applications without requiring native code changes.

Use cases
  • Automatic session timeout
  • User activity tracking
  • Idle screen lock
  • Prevent unauthorized access
  • Auto-logout after inactivity
Key features
  • Cross-platform support
  • Real-time idle detection
  • Configurable idle duration
  • No native code required
  • Simple API integration
Suitable for
  • Security-sensitive apps
  • Time-based session management
  • Kiosk or public terminal apps
  • Apps requiring user engagement monitoring
Considerations
  • May consume minor battery on long-running apps
  • Requires permission on some platforms
  • Behavior may vary slightly between platforms
  • Not suitable for high-precision timing needs
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add in_app_idle_detector

Categories

Dependencies

Dependency list 2 items
  • plugin_platform_interface^2.0.2
  • web^1.0.0

Source repository

Related projects

No data available yet.