Do you also work on a Flutter project with many screens and many custom widgets? How do you load a specific screen with specific dependencies when you work on it? How do you provide the screen to your designer for review ?
If you felt uncomfortable answering these questions, have a look at Widgetbook . You can add it as a development dependency to your project, and then create a storybook of all your screens and custom widgets.
If you use proper dependency injection , you can have a page for each interesting use case of a given widget. If you don't use proper dependency injection, then there is not much you can do, and you should address that problem first.
- Michele Volpato
When you have a grid of widgets of the same type, it might make sense to drag them around to, for example, change their order. You can learn how to do that in this article, by Shaiq khan .
Are you in the market for a state management package for Flutter? In this article, Shawn Blais compares three of the most used ones. The most complete one seems to be Riverpod . But many other packages handle state management, so have a look at the full family.
Read the rest on my website.
Join the Flutter and Dart newsletter and receive it weekly in your inbox.