FLUTTER ECOSYSTEM

widgetbook_annotation

A package featuring the annotations used by widgetbook_generator.

Latest version
3.11.0
30-day downloads
379.3K
Likes
19
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

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
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add widgetbook_annotation

Categories

Source repository

Related projects

No data available yet.