flâneur — a map of the web's best reading

LayoutBuilder class - widgets library - Dart API

api.flutter.dev · 738 words · saved by 1 readers

API docs for the LayoutBuilder class from the widgets library, for the Dart programming language.

LayoutBuilder class - widgets library - Dart API description LayoutBuilder class Builds a widget tree that can depend on the parent widget's size. Similar to the Builder widget except that the framework calls the builder function at layout time and provides the parent widget's constraints. This is useful when the parent constrains the child's size and doesn't depend on the child's intrinsic size. The LayoutBuilder 's final size will match its child's size. The builder function is called in the following situations: The first time the widget is laid out. When the parent widget passes different

Explore this link on the map →

saved by

related reading