fieldSet function

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

Implementation

Widget fieldSet(Item, map,{show=false}) {
return

    Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      mainAxisAlignment: MainAxisAlignment.start,
      children: [

        Container(
          alignment: Alignment.centerRight,
          padding: EdgeInsets.only(top:8,right: 8,left: 8),
      //    width: config.App(settingRes.navigatorKey.currentContext).appWidth(60),
          child: Text("${Item['legend'] != null && Item['legend'].toString().isNotEmpty ? Item['legend'] :Item['label'] != null ? Item['label']:''}",
          style:  ThemeApp?.headline1),
        ),
        Column(
         mainAxisAlignment: MainAxisAlignment.start,
          children:
        FormListWedgit(Item['components'], map, pType: 2,show: show)

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

}