Flutter & Dart · Component
StreamBuilder
StreamBuilder rebuilds a widget from snapshots of a Stream. It can show stream data, errors, and completion state.
Last updated
Syntax
const StreamBuilder<T>({Key? key, T? initialData, required Stream<T>? stream, required AsyncWidgetBuilder<T> builder})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ValueListenableBuilderStreamBuilderBaseAsyncSnapshotConnectionState