my_widgetbook_annotation 1.0.1 copy "my_widgetbook_annotation: ^1.0.1" to clipboard
my_widgetbook_annotation: ^1.0.1 copied to clipboard

A package featuring the annotations used by widgetbook_generator.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add my_widgetbook_annotation

With Flutter:

 $ flutter pub add my_widgetbook_annotation

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  my_widgetbook_annotation: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:my_widgetbook_annotation/widgetbook_annotation.dart';
0
likes
150
points
20
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A package featuring the annotations used by widgetbook_generator.

Topics

#widgetbook #storybook #ui #codegen #build-runner

Documentation

API reference

License

MIT (license)

More

Packages that depend on my_widgetbook_annotation