tableShow function
Widget
tableShow(
- dynamic Item,
- dynamic map, {
- dynamic show = false,
})
Implementation
Widget tableShow(Item, map,{show=false}) {
return
Column(
children: Item['rows']
.map<Widget>((e) => Wrap(
crossAxisAlignment: WrapCrossAlignment.start,
direction: Axis.horizontal,
// verticalDirection: VerticalDirection.down,
alignment: WrapAlignment.start,
runAlignment: WrapAlignment.start,
runSpacing: 5.0,
children: e
.map<Widget>((es) => Container(
// width: 200,
padding: const EdgeInsets.only(bottom: 8, top: 8),
child:
Wrap(
crossAxisAlignment: WrapCrossAlignment.start,
// direction: Axis.horizontal,
verticalDirection: VerticalDirection.down,
alignment: WrapAlignment.start,
runAlignment: WrapAlignment.start,
runSpacing: 0.0,
children: FormListWedgit(es['components'], map,pType: 2,show: show),
),
))
.toList()))
.toList(),
);
}