Search packages, repositories and app categories

Package detailsv3.11.0

widgetbook_annotation

A package featuring the annotations used by widgetbook_generator.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
489K
Likes
19
Pub points
160

Install package

flutter pub add widgetbook_annotation

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

widgetbook_annotation is a Dart package that provides annotations used by widgetbook_generator to enable component-driven UI development in Flutter. These annotations help developers mark widgets, stories, and configurations for automatic code generation, streamlining the creation of interactive UI previews. It integrates with Widgetbook's ecosystem to support Storybook-like workflows across multiple platforms. The package is lightweight and designed to work seamlessly with Flutter’s build system.

Use cases

  • Creating reusable UI components
  • Generating story previews for widgets
  • Enabling component-driven development
  • Automating UI documentation
  • Supporting cross-platform UI testing
  • Facilitating team collaboration on UI design

Key features

  • Annotations for widget and story definition
  • Integration with widgetbook_generator
  • Platform-agnostic UI previews
  • Minimal boilerplate
  • Supports dynamic configuration
  • Seamless Flutter build system integration

Suitable for

  • UI developers using Widgetbook
  • Teams practicing component-driven design
  • Flutter projects needing interactive UI previews
  • Developers automating UI documentation
  • Cross-platform Flutter applications

Considerations

  • Requires widgetbook_generator for full functionality
  • Limited standalone use
  • Dependent on Flutter build system
  • May increase build time slightly
  • Best paired with Widgetbook's runtime library

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

packages/widgetbook/README.md

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.