Streams #1

This lesson introduces Dart Streams. You will learn to create a Stream of numbers using different approaches.

Streams

A Stream is a sequence of asynchronous events. Streams are useful in providing an asynchronous sequence of data.

Let’s review some key terms before we learn how to create a Stream.

Key terms

Stream: A Stream is a sequence of asynchronous events. It lets you know when the next event is ready rather than asking for it.

Data Sequence: The data sequence is made up of either ...