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

A library made to parse and write tasks in the ToDone open format.

example/README.md

Accesing tasks #

You can access a particular task by iterating in any way the list.

The tasks object includes the following fields:

  • Status status: The status is taken from an enum that is either done or undone
  • DateTime? doneDate
  • String priority: By default an empty String
  • DateTime? creationDate
  • Set<String> tags: By default and empty Set
  • DateTime? dueDate
  • String title: By default an empty String

Creating a task #

The library includes a constructor that creates a Task object.

By default, when creating a Task object with only a title it's created with the undone status.

Task example1 = Task();
Task example2 = Task('This is a title');
Task example3 = Task('This is a title', Status.done);
1
likes
160
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A library made to parse and write tasks in the ToDone open format.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on todone_lib