HomeFirstPaintCacheData class
Last-known values from the previous session, persisted to
SharedPreferences and re-read on cold start. The home screen renders
these as fallbacks while the async providers (streakProvider,
dueCardsProvider, myCurriculumDomainsProvider) refetch from Supabase.
Each blob is stamped with a save timestamp; entries older than 7 days are treated as missing so the user doesn't see numbers from a long absence flash and then jump.
Constructors
-
HomeFirstPaintCacheData({required int? streak, required int? dueCount, required List<
CachedDomain> domains}) -
const
- HomeFirstPaintCacheData.empty()
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited