versatile_timer 1.0.1 copy "versatile_timer: ^1.0.1" to clipboard
versatile_timer: ^1.0.1 copied to clipboard

VersatileTimer is designed to support many use cases where a stream of timed events is required. In addition to start, stop, pause, resume and changeSpeed, VersatileTimer offers a number of options t [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add versatile_timer

With Flutter:

 $ flutter pub add versatile_timer

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  versatile_timer: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:versatile_timer/versatile_timer.dart';
0
likes
130
pub points
0%
popularity

Publisher

verified publishertakkan.org

VersatileTimer is designed to support many use cases where a stream of timed events is required. In addition to start, stop, pause, resume and changeSpeed, VersatileTimer offers a number of options to determine how the output 'ticks' are generated from a given input.

Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

logger

More

Packages that depend on versatile_timer