idle_tracker 0.0.2

Dart js
Flutter web

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
90
pub points
28%
popularity

A tiny package that tracks idleness in a web application.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

jolleekin@gmail.com

License

BSD (LICENSE)

More

Packages that depend on idle_tracker