spaced_repetition 0.1.0 copy "spaced_repetition: ^0.1.0" to clipboard
spaced_repetition: ^0.1.0 copied to clipboard

Simple implementation of the sm2 spaced repetition algorithm. It calculates the number of days to wait before reviewing a piece of information based on how easily the the information was remembered today.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add spaced_repetition

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

dependencies:
  spaced_repetition: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:spaced_repetition/SmResponse.dart';
import 'package:spaced_repetition/main.dart';
import 'package:spaced_repetition/sm.dart';
5
likes
130
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Simple implementation of the sm2 spaced repetition algorithm. It calculates the number of days to wait before reviewing a piece of information based on how easily the the information was remembered today.

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on spaced_repetition