presentation/providers/home_first_paint_cache_provider library

Classes

HomeFirstPaintCacheData
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.
HomeFirstPaintCacheProvider
Reads the home first-paint cache once and keeps the values alive for the session. Read with value to get a fallback value or null.

Properties

homeFirstPaintCacheProvider → HomeFirstPaintCacheProvider
Reads the home first-paint cache once and keeps the values alive for the session. Read with value to get a fallback value or null.
final

Functions

homeFirstPaintCache(Ref ref) → Future<HomeFirstPaintCacheData>
Reads the home first-paint cache once and keeps the values alive for the session. Read with value to get a fallback value or null.