Skip to content
F

flutter-add-widget-preview

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

by flutterFree

Launch
#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

D

dart-flutter-patterns

Production-ready Dart and Flutter patterns covering null safety

AI Skills
Launch
F

flutter-dart-code-review

Library-agnostic Flutter/Dart code review checklist covering widget best

AI Skills
Launch
F

flutter-implement-json-serialization

Create model classes with `fromJson` and `toJson` methods using `dart:convert`

AI Skills
Launch
F

flutter-setup-localization

Add `flutter_localizations` and `intl` dependencies

AI Skills
Launch
F

flutter-dev

Flutter cross-platform development guide covering widget patterns

AI Skills
Launch
F

flutter-apply-architecture-best-practices

Architects a Flutter application using the recommended layered approach

AI Skills
Launch

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 dart-flutter-patterns, flutter-dart-code-review and flutter-implement-json-serialization. See all flutter-add-widget-preview alternatives

Developer Stuff

Badges