Creates a widget that expands a child of a Row, Column, or Flex expand to fill the available space in the main axis.
Source
Expanded({
Key key,
int flex: 1,
@required Widget child,
}) : super(key: key, flex: flex, fit: FlexFit.tight, child: child) {
assert(flex > 0);
}