sm2 0.1.6 sm2: ^0.1.6 copied to clipboard
Simple 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 sm2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sm2: ^0.1.6
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:sm2/SmResponse.dart';
import 'package:sm2/main.dart';
import 'package:sm2/sm.dart';