semesterRecordsProvider top-level property

StreamProvider<List<SemesterRecordData>> semesterRecordsProvider
final

Provides semester records (scores, GPA, rankings) for the score screen.

Watches the DB directly — automatically updates when score data changes. Background-refreshes stale data automatically; concurrent refreshes with scoreSemestersProvider coalesce inside the repository.

Implementation

final semesterRecordsProvider =
    StreamProvider.autoDispose<List<SemesterRecordData>>((ref) {
      return ref.watch(studentRepositoryProvider).watchSemesterRecords();
    });