chimpansiets / storybook_annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them.

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!

About

License:Other


Languages

Language:C++ 40.8%Language:CMake 35.4%Language:Dart 15.0%Language:HTML 3.6%Language:C 2.8%Language:Swift 2.3%Language:Kotlin 0.2%Language:Objective-C 0.1%