debug_overlay_file_browser

Browse, preview, and delete files in the app's private storage directories (documents, support, temporary, cache, and platform-specific ones) in the debug_overlay.

FileBrowserDebugTool demo

Part of debug_overlay.

Usage

DebugOverlay.appendTool(FileBrowserDebugTool());

To browse other directories instead of the ones provided by path_provider, pass roots:

FileBrowserDebugTool(
  roots: [FileBrowserRoot(name: 'Logs', directory: Directory(logsPath))],
)

Files are previewed as text (JSON is pretty-printed), image, or hex dump. Deleting always asks for confirmation.

This tool stays empty on the web.