panel function

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

Implementation

Widget panel(Item, map,{show=false}) {
  return
   ExpansionTile(
    title: Text("${Item['label'] != null ? Item['label'] : ''}",style:  TextStyle(
        fontFamily: 'Tajawal',
        fontSize: 16,
        //color: const Color(0xff42487e),
        height: 1

    ),),
    children: FormListWedgit(Item['components'], map, pType: 2,show: show),
    maintainState: true,
  );

}