screens/main/course_table/course_table_providers library

Enums

CourseISchoolPresentation

Properties

courseMaterialsAvailabilityProvider → FutureProviderFamily<void, CourseISchoolKey>
final
courseMaterialsManualAvailabilityProvider → FutureProviderFamily<void, CourseISchoolKey>
final
courseMaterialsManualRefreshProvider → FutureProviderFamily<CourseISchoolRefreshResult, CourseISchoolKey>
final
courseMaterialsProvider → StreamProviderFamily<CourseMaterialList, CourseISchoolKey>
final
courseMaterialsRefreshProvider → FutureProviderFamily<CourseISchoolRefreshResult, CourseISchoolKey>
final
courseOfferingProvider → FutureProviderFamily<CourseOfferingDetail?, String>
Provides the detailed data for a single course offering, keyed by its course number (課號).
final
courseStudentRosterAvailabilityProvider → FutureProviderFamily<void, CourseISchoolKey>
Runs the public probe in parallel with a stale or missing roster refresh.
final
courseStudentRosterProvider → StreamProviderFamily<CourseStudentRoster, CourseISchoolKey>
Watches the locally cached I-School Plus roster for one course offering.
final
courseStudentRosterRefreshProvider → FutureProviderFamily<CourseISchoolRefreshResult, CourseISchoolKey>
Refreshes a roster only when its timestamp is missing or stale.
final
syllabusProvider → StreamProviderFamily<List<TeacherSyllabusDetail>, ({String courseNumber, SyllabusLanguage language})>
Provides every submitted syllabus for a course in the requested language, fetched lazily on the first cache miss.
final

Functions

canRetryCourseISchool<T>(AsyncValue<T> refresh, AsyncValue<void> availability) → bool
Retry is safe only after both halves of the current attempt have settled.
courseISchoolPresentation({required bool hasCache, required bool showNetworkGuide, required bool allowEarlyNetworkGuide, required AsyncValue<bool> refresh, required AsyncValue<void> availability}) → CourseISchoolPresentation

Typedefs

CourseISchoolKey = ({String courseNumber, int courseOfferingId})
CourseISchoolRefreshResult = ({bool hadCacheAtStart, bool refreshed})