Expanded class
An Expanded widget forces its child to consume all remaining space in a Row or Column.
Constructors
-
Expanded({int flex = 1, required Widget child})
-
Creates an expanded widget.
const
Properties
-
child
→ Widget
-
The child widget.
finalinherited
-
flex
→ int
-
The flex factor to use for this child.
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
key
→ Key?
-
The optional key for this widget.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited