Skip to content
Efra Espada edited this page Jan 21, 2024 · 13 revisions

pub package

This package allows you to create a widget catalog and all kinds of screenshots. Every widget page of your catalog can display one or more samples of your widget.

Where do I see this catalog? After you prepare your widgets, you must run your app and go to /catalog.

This package uses go_router to simplify the navigation. If you aren't using this package, you can run the CatalogApp to run it.

This package doesn't render your widgets in IDEA, Android Studio, or Visual Studio Code.

- What are previews?

- Create a basic page for a widget

- Generate the preview and dummy files

- What are dummies?

- Complex page catalog

- Prepare dummies

- Building your catalog

- Run with go_router

- Run without go_router

- Fastlane screenshots

- Multi-language support

- Samples