ui library
Flutter Cache Vault UI — Ready-made cache management widgets.
Import this file to access the Telegram-style cache manager UI. These widgets read state from CacheVault directly and require zero configuration to render.
import 'package:flutter_cache_vault/ui.dart';
// Full screen cache manager
Navigator.push(context, MaterialPageRoute(
builder: (_) => CacheManagerScreen(),
));
// Or one-liner
CacheVault.showManager(context);
Classes
- CacheBucketDetailScreen
- Drill-down detail screen for a single cache bucket.
- CacheBucketTile
- A ListTile-style widget for a single cache bucket.
- CacheDebugOverlay
- A floating debug overlay that shows live cache statistics.
- CacheManagerScreen
- A full-page storage manager widget inspired by Telegram's Storage Usage screen.
- CacheManagerTheme
- Theme configuration for the cache manager UI widgets.
- CacheUsageDonut
- An animated donut chart showing cache bucket size proportions.