Skip to content
masterclass Buddy

Flutter & Dart · Concept

Streams

A Stream is a sequence of asynchronous data or error events followed by one done event. Read it with await for or listen, and choose single-subscription or broadcast behavior.

Last updated

Syntax

abstract mixin class Stream<T>

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

Subscribe
  • StreamSubscription
  • asBroadcastStream
  • async*
  • await for
  • listen
  • asyncMap
  • where

Source: Stream class - dart:async library - Dart API. Checked 2026-11-03.