screenCatalog

Inspect Flutter Screens & Visual Diffs in ~15s, No Simulator

Replace minutes of simulator clicks and dozens of vision-token-heavy screenshots with a single ~15-second flutter test pass (48 example frames in 15.2s). Coding agents inspect one contact sheet and compact manifest.json so they only open the single changed or failing frame. Zero external dependencies.

screen_catalog rendering light and dark Flutter screens across devices inside flutter test

Feature Showcase

Contact Sheet Across Devices & Themes

screenCatalog contact sheet across phone and tablet in light and dark mode

Render every screen across light/dark mode and phone/tablet sizes in one pass.

Golden Baseline & Pixel Diff Overlay

screenCatalog golden baseline comparison and magenta pixel diff overlay

Spot exact UI regressions with side-by-side baseline comparisons and --fail-on-diff.

State Matrix & Frame Inspector

screenCatalog state matrix across default, empty, long, and offline states

Verify populated, empty, long-text, and offline error states without a live backend.

Zero-Simulator CI & Agent JSON

screenCatalog JSON output, exit codes 0-5, and whole-app overview

Deterministic exit codes (0 to 5), overflow warnings, and structured JSON that saves agent vision tokens.

3-Step Quickstart

git clone https://github.com/krishnac7/screenCatalog.git
cd screenCatalog/example
flutter pub get
dart run screen_catalog --state all --frame

Outputs build/screen_catalog/contact_sheet.png, an offline HTML viewer (index.html), per-frame PNGs, and a machine-readable manifest.json.

What It Gives You

Multi-Axis Matrix

Capture light/dark themes, phone/tablet/Android sizes, locales, text scales, and state overrides in one run.

Offline HTML Gallery & Diffs

Inspect Current, Baseline, Magenta Diff, and Split views in a self-contained HTML gallery with zero external requests.

Store-Ready Screenshots

Emit exact 24-bit RGB App Store & Google Play sizes into fastlane deliver and supply folders.

Agent & CI Ready (--json)

Fail-closed exit codes (0 to 5), --changed git scoping, layout overflow warnings, and a standard SKILL.md.

Use with AI Coding Agents

npx skills add krishnac7/screenCatalog

Or read llms.txt / llms-full.txt for full CLI flags, exit codes, and catalog authoring patterns.

How It Compares

ToolExecutionFocus
screenCatalogHeadless flutter test (Flutter SDK only)Whole-app screen/state matrix, contact sheets, offline HTML gallery, diffs, store shots, JSON
Widgetbook / MonarchLive app / dedicated host runnerInteractive widget story exploration with knobs
Alchemist / Golden Toolkitflutter testStrict pixel-assertion golden tests
Patrol / Runtime MCPRunning emulator / VM ServiceLive E2E interaction and runtime widget tree inspection

Honest Limits