Columns function

Widget Columns(
  1. dynamic Item,
  2. dynamic map, {
  3. dynamic show = false,
})

Implementation

Widget Columns(Item, map,{show=false}) {
  return Column(
      mainAxisSize: MainAxisSize.min,
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        if (Item['columns'] != null && Item['columns'].length > 0)
          for (var colum in Item['columns'])
            Wrap(
              spacing: 0.0,
              children: FormListWedgit(colum['components'], map, pType: 2, show: show),
              crossAxisAlignment: WrapCrossAlignment.start,
              // direction: Axis.horizontal,
              verticalDirection: VerticalDirection.down,
              alignment: WrapAlignment.start,
              runAlignment: WrapAlignment.start,
              runSpacing: 0.0,
            ),
      ]);

}