storybook_annotations 0.0.1 copy "storybook_annotations: ^0.0.1" to clipboard
storybook_annotations: ^0.0.1 copied to clipboard

A package used for generation Stories to be used in Storybook_flutter using the build_runner

A package used for generation Stories to be used in Storybook_flutter using the build_runner

Features #

  • Generates Stories to be used within a StoryBook.

Getting started #

flutter pub add storybook_annotations

Usage #

Add the annotation '@GenerateStory()' above the widget you would like to generate a story for. This copies both boolean, int and double fields with a knob and label.

@GenerateStory()
class MyWidget extends StatelessWidget {

Additional information #

This package is still a work in progress, and not yet fully done. I decided to release this beginning of the workings, and contributions are very welcome!

2
likes
120
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A package used for generation Stories to be used in Storybook_flutter using the build_runner

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

build_resolvers, code_builder, flutter, super_annotations

More

Packages that depend on storybook_annotations