wrap function

Widget wrap({
  1. Iterable<Widget>? children,
  2. double runspacing = 5,
  3. double spacing = 10,
})

Implementation

Widget wrap(
        {Iterable<Widget>? children,
        double runspacing = 5,
        double spacing = 10}) =>
    Wrap(
      crossAxisAlignment: WrapCrossAlignment.center,
      spacing: spacing,
      runSpacing: runspacing,
      children: [
        ...?children,
      ],
    );