emptyable_timer 0.0.1 copy "emptyable_timer: ^0.0.1" to clipboard
emptyable_timer: ^0.0.1 copied to clipboard

A handy timer that can be empty rather than nullable. Emptyable timer can be checked if it is canceled. Otherwise, it is a regular timer.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add emptyable_timer

With Flutter:

 $ flutter pub add emptyable_timer

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

dependencies:
  emptyable_timer: ^0.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:emptyable_timer/emptyable_timer.dart';
1
likes
160
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A handy timer that can be empty rather than nullable. Emptyable timer can be checked if it is canceled. Otherwise, it is a regular timer.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on emptyable_timer