Overview
Dashbook is a Flutter library designed to create isolated, interactive previews of widgets, enabling component-driven UI development. It functions similarly to Storybook, allowing developers to build and test individual UI components in a sandbox environment. With support across all major platforms—Android, iOS, Web, macOS, Windows, and Linux—Dashbook helps visualize widget behavior under different states and configurations. It integrates seamlessly into Flutter projects via a simple pub add command, making it ideal for design systems and reusable component libraries.
Use cases
- Building reusable UI components
- Testing widget states and variations
- Creating design system documentation
- Collaborating with designers
- Prototyping UI elements
- Isolating widget behavior for debugging
Key features
- Interactive widget previews
- Support for multiple platform targets
- Live state and property editing
- Component-driven UI workflow
- Easy integration via pub
- Built-in theme and layout options
Suitable for
- UI component authors
- Design system teams
- Flutter developers building reusable libraries
- Teams practicing component-driven development
- Frontend engineers working on large-scale apps
Considerations
- Primarily intended for development and design review
- Not optimized for production UI rendering
- Requires additional setup for complex interactions
- Best used alongside testing frameworks
- May increase app size if included in production builds
