Skip to content

show progress in foreach statement #116

Description

@JAICHANGPARK

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++;

});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions