Run
Widgetbook is supported in the following environments.
| Environment | Status | Comment |
|---|---|---|
| MacOS | ✅ | |
| Windows | ✅ | |
| Linux | ✅ | |
| Web | ✅ | No hot reload, but hot restart |
| Mobile | ➖ | Will run but is not optimized. Let us know if you see a mobile use-case for Widgetbook. |
See the Desktop support for Flutter page for setup instructions.
Check if everything works by running flutter run with the newly created Widgetbook:
If you used another file apart from main.dart or have renamed widgetbook.dart,
ensure that you pass the correct name to -t as an entry point.
bash flutter run -d macos -t lib/widgetbook.dart 
Widgetbook is now running, but no components are shown yet. To learn how to add components and how to configure Widgetbook to your liking, view the configuration documentation.
You can check the final getting started on Zapp!

