UI Package

Best practices for building a Flutter UI package on top of Material, covering custom components, ThemeExtension-based theming, consistent APIs, widget tests, and scaffolding from the app_ui_package template. Use when creating a UI package and whenever working inside one: adding or reviewing a widget, wiring design tokens, exporting through the barrel file, or writing tests for a widget that lives in a UI package. Triggers on "create a ui package", "add a widget to our ui package", "add a design token", "export it from the barrel", "write tests for this widget in my ui package", and on any request naming a package whose job is shared widgets and design tokens.

VeryGoodOpenSource a9d26fb 3 files · 12.5 KB Updated

File contents

VeryGoodOpenSource/vgv-ai-flutter-plugin/tree/main/skills/ui-package commit a9d26fb7d5

Frequently asked questions

npx skillmds@latest add verygoodopensource/ui-package