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

Pluggable spaced repetition engine with FSRS-6 scheduling, study-type adapters, optional review logging, and session support. Storage-agnostic (bring your own CardStateStore).

example/dart_srs_example.dart

import 'package:dart_srs/dart_srs.dart';

void main() {
  final algorithm = FSRS6Algorithm(config: FSRS6Config());
  final card = algorithm.getInitialCardState('demo');
  print(
    'New card ${card.cardId}: phase=${card.cardPhase}, due=${card.dueDate}',
  );
}
1
likes
160
points
38
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pluggable spaced repetition engine with FSRS-6 scheduling, study-type adapters, optional review logging, and session support. Storage-agnostic (bring your own CardStateStore).

Homepage
Repository (GitHub)
View/report issues

Topics

#spaced-repetition #srs #fsrs #flashcards #learning

License

MIT (license)

More

Packages that depend on dart_srs