Expanded constructor Null safety

const Expanded(
  1. {Key? key,
  2. int flex,
  3. required Widget child}
)

Implementation

const factory Expanded(
    {final Key? key,
    final int flex,
    required final Widget child}) = _$Expanded;