reworked developer tools with diagnostics, storage viewers and release-capable debug overlays

This commit is contained in:
2026-09-26 14:34:47 +02:00
parent 0f6c388940
commit e6f74ca6fe
18 changed files with 1330 additions and 239 deletions
+4
View File
@@ -5,6 +5,8 @@ import 'dart:typed_data';
import 'package:path_provider/path_provider.dart';
import '../utils/directory_size.dart';
/// Persistent disk cache for the in-app [UserAvatar] widget.
///
/// The widget keeps a session-scoped in-memory LRU; this store survives app
@@ -156,6 +158,8 @@ class AvatarDiskCache {
}
}
Future<int> totalSize() async => directorySize(await _directory());
/// Wipes the whole cache — used by the argument-less `invalidateAvatarCache`
/// (e.g. on logout).
Future<void> clear() async {