LogoWidgetbook

Setup

The Widgetbook package offers a Flutter Widget called Widgetbook, which enables you to inject custom widgets from your app. Before we start, let's look at the folder structure in Flutter projects.

your_flutter_project/
├─ android/
├─ ios/
├─ lib/
│ ├─ main.dart
│ ├─ src/
│ │ ├─ widgets/
│ │ ├─ models/
│ │ └─ services/
│ └─ ...
├─ assets/
│ ├─ images/
│ ├─ fonts/
│ └─ ...
├─ test/
├─ pubspec.yaml
└─ ...

To initialize Widgetbook in your Flutter project, follow the steps below:

Next#

Now you can start cataloging your widgets and take advantage of the streamlined widget management and collaboration features offered by Widgetbook.