afterSubmit method
dynamic
afterSubmit(
- dynamic context,
- dynamic formName,
- dynamic result
Implementation
afterSubmit(context, formName, result) {
myLogAll('afterSubmit');
Map<dynamic, dynamic> formDefine = _formLists[formName]!;
if (formDefine[gBtns] != null) {
List btnList = formDefine[gBtns];
for (int i = 0; i < btnList.length; i++) {
Map bi = btnList[i];
result.add(
const SizedBox(
height: 10.0,
),
);
result.add(
InkWell(
child: Text(
getSCurrent(bi[gLabel]),
style: const TextStyle(color: Colors.black),
),
onTap: () {
sendRequestOne(bi[gAction], [], context);
},
),
);
}
}
}