courseTableProvider top-level property
final
Provides course table cells for a semester.
Watches the DB directly — automatically updates when course table data changes. Background-refreshes stale data automatically.
Keyed by Semester.id (not the full object) so that timestamp updates on the semester row don't recreate the provider.
Implementation
final courseTableProvider = StreamProvider.autoDispose
.family<CourseTableData, int>((ref, semesterId) {
return ref
.watch(courseRepositoryProvider)
.watchCourseTable(semesterId: semesterId);
});