storybook_annotations 0.0.1
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!