data_tree 1.0.5
data_tree: ^1.0.5 copied to clipboard
A powerful CLI tool that automatically reads Flutter app storage using ADB and prints GetStorage, SharedPreferences, and app data files as a clean ASCII tree in the terminal. Designed for debugging [...]
π¦ data_tree β Flutter Storage Inspector (CLI) #
data_tree is a powerful command-line tool that lets you instantly inspect
Flutter local storage (GetStorage, SharedPreferences, and app Files)
directly from your Android device or emulator.
It generates clean, readable ASCII tree output, similar to Linux tree,
making it the easiest way to understand your appβs stored data during development.
π Why this tool exists? #
Flutter developers often need to inspect local app data:
- Is the user logged in?
- What token is saved?
- Why is the theme not updating?
- What does GetStorage really store?
- Whatβs inside shared preferences?
- Whatβs inside
/filesor/app_flutter?
Normally you must:
β write debugging UI
β print logs
β open device file explorer
β write export code
β decode XML manually
β import JSON files
data_tree does all of that in a single command.
β¨ Features #
π Auto-detects your running Flutter app #
- Detects foreground app
- Detects Flutter debug apps automatically
- Detects debuggable apps
- Asks user to select app if needed
β‘οΈ No need for--packageever again.
π Supports Multiple Storage Types #
| Storage Type | Support | Details |
|---|---|---|
| SharedPreferences | β | Reads XML β converts to JSON |
| GetStorage | β | Reads JSON containers automatically |
| Files (/files) | β | Reads JSON, text, and structured content |
| SecureStorage | β¬ οΈ Coming soon | Requires extra permissions |
| Hive | π Planned | Auto-hive decoding |
| SQLite | π Planned | Query DB tables |
π³ Clean ASCII Tree Output #
Example: