Expanded constructor Null safety
Creates a widget that expands a child of a Row, Column, or Flex so that the child fills the available space along the flex widget's main axis.
Implementation
const Expanded({
super.key,
super.flex,
required super.child,
}) : super(fit: FlexFit.tight);