taps function

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

Implementation

Widget taps(Item, map,{show=false}) {
  return TabBar(
      tabs: Item["components"].length < 1
          ? []
          : Item["components"].map<Widget>((e) => panel(e, map,show: show)).toList());
}