expanded static method
Widget
expanded({
- Widget? child,
- double spacing = 0,
- EdgeInsets? padding,
- List<
Widget> ? children, - CrossAxisAlignment? vertical,
- MainAxisAlignment? horizontal,
Row with expanded in every widget in children
Implementation
static Widget expanded({
Widget? child,
double spacing = 0,
EdgeInsets? padding,
List<Widget>? children,
CrossAxisAlignment? vertical,
MainAxisAlignment? horizontal,
}) => _PipenRowExpanded(
spacing: spacing,
padding: padding,
vertical: vertical,
horizontal: horizontal,
children: [...?children, if (child case Widget child) child],
);