Skip to content
F

flutter-add-widget-preview

Adds interactive widget previews to the project using the previews.dart system

by flutterFree

#3570in AI Skills
0In stores

Description

flutter-add-widget-preview is an agent skill that adds interactive widget previews to a Flutter project using the previews.dart system and t…

Highlights

  • Adds @Preview annotations to widgets
  • Custom annotations for shared themes and wrappers
  • Multiple previews per widget with MultiPreview
  • Runtime changes through transform()

Ratings & Reviews

No ratings yet

Be the first to rate flutter-add-widget-preview.

People also visit

F

flutter-building-layouts

Builds Flutter layouts using the constraint system and layout widgets

AI Skills
Get
F

flutter-apply-architecture-best-practices

Architects a Flutter application using the recommended layered approach

AI Skills
Get
F

flutter-theming-apps

Customizes the visual appearance of a Flutter app using the theming system

AI Skills
Get
F

flutter-build-responsive-layout

Use `LayoutBuilder`, `MediaQuery`

AI Skills
Get
F

flutter-animating-apps

Implements animated effects, transitions, and motion in a Flutter app

AI Skills
Get
F

flutter-add-widget-test

Implement a component-level test

AI Skills
Get

flutter-add-widget-preview FAQ

What does this skill add?

Interactive widget previews in a Flutter project, using the previews.dart system and the Flutter Widget Previewer.

Which code can take a preview?

Top-level functions, static methods in a class, and public widget constructors or factories with no required arguments that return a Widget or WidgetBuilder.

Can I preview several variations?

Yes. Apply several @Preview annotations to one target, or extend MultiPreview to group them.

How do I share a theme across previews?

Extend the Preview class to create a custom annotation that adds the theme or wrapper.

How do I install it?

Run: npx skills add https://github.com/flutter/agent-plugins --skill flutter-add-widget-preview

What security audits has it passed?

Gen Agent Trust Hub, Socket and Snyk all passed.

What are the best flutter-add-widget-preview alternatives?

Popular alternatives to flutter-add-widget-preview include flutter-building-layouts, flutter-apply-architecture-best-practices and flutter-theming-apps. See all flutter-add-widget-preview alternatives

Developer Stuff

Badges