GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing api.flutter.dev — Expanded class - widgets library - Dart API Expanded classA widget that expands a child of a Row, Column, or Flex so that the child fills the available space. Using an Expanded widget makes a child of a Row, Column, or Flex expand to fill the available space along the main axis (e.g., horizontally for a Row or vertically for a Column). If multiple children are expanded, the available space is divided among them according to the flex factor. An Expanded widget must be a descendant of a Row, Column, or Flex, and the path from the Expanded widget to its enclosing Row, Column, or Flex must contain only StatelessWidgets or StatefulWidgets (not other kinds of widgets, like RenderObjectWidgets).
This example shows how to use an Expanded widget in a Column so that
its middle child, a Container here, expands to fill the space.
link
To create a local project with this code sample, run:
This example shows how to use an Expanded widget in a Row with multiple
children expanded, utilizing the flex factor to prioritize available space.
link
To create a local project with this code sample, run: See also:
ConstructorsProperties
Methods
Operators
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |