checkAllForm function
Implementation
bool checkAllForm(BuildContext context, List<CheckFormItem> arr) {
return arr.every((CheckFormItem item) {
var v = formCheck(item);
if (XUtil.typeOf(v) == 'String') {
showToast(context, v);
return false;
} else {
return true;
}
});
}