tom_todo_model 1.0.1
tom_todo_model: ^1.0.1 copied to clipboard
The Tom workspace's shared todo model (TomTodo: the todo schema's field set, statuses and priorities) and the *.todo.yaml file codec, which edits a todo file as splices into its own text.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tom_todo_modelWith Flutter:
$ flutter pub add tom_todo_modelThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tom_todo_model: ^1.0.1Alternatively, 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:tom_todo_model/tom_todo_model.dart';