services/widget_cache library
Local cache for widget responses.
Uses SharedPreferences to persist the last-known-good API response for each cache key. The cache is a pure network-failure fallback: it is written on every successful fetch and read only when the network call throws. Stale data is always preferred over an empty screen.