getCardButtons method
dynamic
getCardButtons(
- dynamic context,
- dynamic data,
- dynamic param0,
- dynamic backcolor,
- dynamic param,
Implementation
getCardButtons(context, data, param0, backcolor, param) {
myLogAll('getCardButtons');
List<Widget> list = [];
if (data[gType] == gProcess) {
List detail = data[gDetail];
dynamic params = {gType: gTab, gName: param0, gData: data, gParam: param};
list = getButtonsList(context, detail, data, params, backcolor);
} else {
//getMyItem(data, context, backcolor);
//Widget w = SizedBox(height: 400.0, child: MyForm(data, backcolor));
//Widget w = const Expanded(child: Text('a form'));
Widget w = getBodyStack(
true,
getEmptyWidget(),
{
'10': {gItem: data[gItem]}
},
backcolor,
[],
context);
list.add(SizedBox(
height: MediaQuery.of(context).size.height - 150.0, child: w));
return list;
}
return list;
}