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

});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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