Skip to content
Efra Espada edited this page Oct 6, 2024 · 14 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?

- Prepare dummies

- Tests

- Integration Tests

- Sample

- Building your catalog

- Run with go_router

- Run without go_router

- Fastlane screenshots

- Multi-language support

- Samples