FLUTTER ECOSYSTEM

widgetbook

Widgetbook is a sandbox for building widgets and screens in isolation. It helps you develop hard-to-reach states and edge cases without needing to run your app.

widgetbook cover
Latest version
3.25.0
30-day downloads
487K
Likes
800
Pub points
160

Package Overview

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

Overview

Widgetbook is a component-driven development tool for Flutter that provides an interactive sandbox to build and test widgets and screens in isolation. It enables developers to explore complex states, edge cases, and UI variations without launching the full application. By offering real-time previews and configurable parameters, Widgetbook streamlines UI development and enhances collaboration between designers and engineers. It supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Testing edge cases in UI components
  • Developing reusable widgets in isolation
  • Collaborating with designers on UI prototypes
  • Exploring different widget states
  • Validating responsive layouts
  • Iterating on design systems
Key features
  • Interactive preview environment
  • Support for multiple platforms
  • Configurable widget parameters
  • Real-time hot reload
  • Integration with design tokens
  • Component library management
Suitable for
  • Flutter developers building UI libraries
  • Design system teams
  • Frontend engineers focused on component quality
  • Teams using Storybook-like workflows
  • Developers working on complex state scenarios
Considerations
  • Requires additional setup for initial configuration
  • May increase project complexity for small apps
  • Limited built-in theming beyond basic customization
  • Best suited for larger projects with reusable components
  • Not intended for end-user app testing
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add widgetbook

Categories

Dependencies

Dependency list 9 items

Source repository

Related projects

Rankings