idle_tracker 0.0.2 copy "idle_tracker: ^0.0.2" to clipboard
idle_tracker: ^0.0.2 copied to clipboard

A tiny package that tracks idleness in a web application.

idle_tracker #

A tiny package that tracks idleness in a web application.

Usage #

A simple usage example:

import 'package:idle_tracker/idle_tracker.dart';

void main() {
  new IdleTracker(
      timeout: const Duration(seconds: 5),
      periodicIdleCall: true,
      startsAsIdle: true,
      onIdle: () => print('Hey, are you there?'),
      onActive: () => print('Welcome back!'))
    ..start();
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A tiny package that tracks idleness in a web application.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

More

Packages that depend on idle_tracker