dart_srs 1.0.0
dart_srs: ^1.0.0 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}',
);
}