Skip to content
pubscout

dashbook

0.1.19, released 7 weeks ago by blue-fire.xyz

Dashbook is a Flutter UI development tool for creating isolated widget stories and showcases.

WASM-readyUses material_ui
$ flutter pub add dashbook
Source repository

What it does

It lets you define stories and chapters for widgets, provides a UI to interact with them, and supports theming, actions, and preview customization.

AI-written summary of version 0.1.19, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a Storybook‑style environment for Flutter widgets
  • You want to prototype and test widgets in isolation
  • You want to document widget usage with interactive examples

Skip it when

  • You only need a simple widget demo without a UI framework
  • You prefer a command‑line or non‑interactive testing setup

Strengths

  • Easy to add stories with declarative API
  • Supports theming, actions, and device frames
  • Cross‑platform (mobile, web, desktop)

Weaknesses

  • Not a state‑management or networking library
  • Limited to UI showcase, not production use

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
7

Add dependency via pubspec, import dashbook, create Dashbook instance and add stories

import 'package:dashbook/dashbook.dart';

final dashbook = Dashbook();
dashbook.storiesOf('Text').add('default', (ctx) => Text(ctx.textProperty('text', 'Hello')));
runApp(dashbook);

Works with

Packages commonly used together with dashbook: ones it builds on, ones built on it, and its own family.