vyuh_widgetbook
Adapters expose content previews as Widgetbook use cases. This package is developer tooling; the production content registry remains owned by the framework.
How the pieces fit together
Choose a declaration
WidgetBookShell · runWidgetBook
WidgetBookShell
Public declaration in this package.
dart
final class WidgetBookShell extends StatelessWidgetDirectly declared public members:
dart
final List<FeatureDescriptor> features;dart
final ThemeData? lightTheme;dart
final ThemeData? darkTheme;dart
const WidgetBookShell({super.key, required this.features, this.lightTheme, this.darkTheme});dart
Widget build(BuildContext context);runWidgetBook
Runs the Widgetbook application for previewing Vyuh content and components.
dart
void runWidgetBook({required FeaturesBuilder features, ThemeData? lightTheme, ThemeData? darkTheme})