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
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.
- webdashbook depends on itLightweight bindings for browser APIs via JS interop
- url_launcherdashbook depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- shared_preferencesdashbook depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
- material_uidashbook depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- flutter_markdown_plusdashbook depends on itA Markdown renderer widget for Flutter to display rich text from plain text data.
- flutter_colorpickerdashbook depends on itHSV, HSL, RGB, and Material color picker widgets for Flutter applications.
- device_framedashbook depends on itProvides mock device frames to preview Flutter UI on various device screens.