idle_detector

Last updated:

0 purchases

idle_detector Image
idle_detector Images
Add to Cart

Description:

idle detector

This packages provides a widget [IdleDetector] that detects when a user stops interacting with your app.
Usage #
Wrap your app in the [IdleDetector] widget and do something with the callback.
IdleDetector(
idleTime: const Duration(minutes: 1),
onIdle: () {
print('The user has not interacted with the app for 1 minute.');
},
child: Center(
child: Text('Hello World'),
),
);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.