expanded static method

Widget expanded({
  1. Widget? child,
  2. double spacing = 0,
  3. EdgeInsets? padding,
  4. List<Widget>? children,
  5. CrossAxisAlignment? vertical,
  6. 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],
);