Skip to content
masterclass Buddy

Flutter & Dart · Concept

Futures

Future.wait waits for multiple futures and gathers their results into a list. The list keeps input order, and the returned future fails if an input future fails.

Last updated

Syntax

static Future<List<T>> wait<T>(Iterable<Future<T>> futures, {bool eagerError = false, void cleanUp(T successValue)?})

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Future
  • Future.delayed
  • Future.sync

Source: wait method - Future class - dart:async library - Dart API. Checked 2026-11-03.