I'd like to show progress dialog in foreach statement on list value
but not showing progress dialog
how to show progress dialog in for each loop?
listItems.values.forEach((value) {
EasyLoading.showProgress(idx / listItems.length, status: '${listItems.length}/ ${((idx / supportIndexBox.length) * 100).toStringAsFixed(0)}%');
idx++;
});
I'd like to show progress dialog in foreach statement on list value
but not showing progress dialog
how to show progress dialog in for each loop?