Flex constructor Null safety
- {Key? key,
- required Axis direction,
- MainAxisAlignment mainAxisAlignment,
- MainAxisSize mainAxisSize,
- CrossAxisAlignment crossAxisAlignment,
- TextDirection? textDirection,
- VerticalDirection verticalDirection,
- TextBaseline? textBaseline,
- Clip clipBehavior,
- List<
Widget> children}
Implementation
const factory Flex(
{final Key? key,
required final Axis direction,
final MainAxisAlignment mainAxisAlignment,
final MainAxisSize mainAxisSize,
final CrossAxisAlignment crossAxisAlignment,
final TextDirection? textDirection,
final VerticalDirection verticalDirection,
final TextBaseline? textBaseline,
final Clip clipBehavior,
final List<Widget> children}) = _$Flex;