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
saved by
related reading
- SingleChildScrollView class - widgets library - Dart APIapi.flutter.dev
- Scaffold class - material library - Dart APIapi.flutter.dev
- Flutter - Build apps for any screenflutter.dev
- Inside Framer's Magic Motionnan.fyi
- How to Write a Flexbox Layout Engine - tchayen.comtchayen.com
- Not a Numbernan.fyi
- On layout choreographykarlkoch.me
- Understanding Layout Algorithms • Josh W. Comeaujoshwcomeau.com
- v0 by Vercel - Build Full-Stack Web Apps with AIv0.dev
- Wonder — What you see is what you shipwonder.design
- An Interactive Guide to Flexbox in CSS • Josh W. Comeaujoshwcomeau.com
- CSS polyfills from the futuregss.github.io