CourseWidgetSyncController class

App-lifetime controller that serializes cache reconciliation, rendering, persistence, and cross-user cleanup for the Android course widget.

Constructors

CourseWidgetSyncController(Stream<void> _watchChanges(), Future<LatestCachedCourseTable?> _readLatest(), CourseWidgetPlatform _platform)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attachRenderer(CourseWidgetRenderer? renderer) → void
invalidateAndClear() → Future<void>
Invalidates in-flight work, clears native state, and allows a later start.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reconcile() → Future<void>
Reads one coherent latest cache snapshot and queues only changed output.
setPresentation(CourseWidgetPresentation presentation) → void
Updates render-affecting presentation state and debounces reconciliation.
start() → Future<void>
Starts one cache subscription and loads the native persisted fingerprint.
stopAndClear() → Future<void>
Stops synchronization until the next authenticated session and clears the native bitmap only after any already-entered commit has completed.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

debounceDuration → const Duration