Search packages, repositories and app categories

widgetbook cover
Package detailsv3.25.0

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.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
603K
Likes
807
Pub points
150

Install package

flutter pub add widgetbook

Package Overview

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

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

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 9 items

Source repository

Projects using this package

Rankings