LogoWidgetbook

Install

Welcome to Widgetbook! This guide will help you integrate Widgetbook into your Flutter projects and streamline your widget management process.

Make sure to depend on the Widgetbook packages.

There are two approaches to configuring Widgetbook:

  1. Manual Approach: This approach involves using the widgetbook package and manually maintaining the widget structure in Widgetbook to keep it in sync with your application.

  2. Generator Approach: widgetbook_generator ensures harmony between your codebase and the Widgetbook's navigation panel structure. Its robust features make it a sought-after solution for hassle-free Widgetbook management. Here are some key benefits of using widgetbook_generator:

    • Accurately mirrors your codebase within the Widgetbook's navigation panel, keeping track of file movement or restructuring.
    • Ensures that the names of all WidgetbookComponents correspond to the widgets' names, even when renamed.
    • It simplifies the setup process, allowing you to get started quickly.
    • Seamlessly integrates with Widgetbook Cloud for an optimized workflow.
We recommend using the Generator approach over the Manual approach.

With these approaches in mind, you can now begin integrating Widgetbook into your project and enjoy the benefits of streamlined widget management and collaboration.