PrismConnectionSource typedef

PrismConnectionSource = Stream<bool> Function()

How a PrismConnectionBanner learns about connectivity.

Prism deliberately ships no network dependency: you plug in whatever source your app already has (a repository stream, connectivity_plus, a heartbeat) and the widget handles pacing, animation and semantics.

Implementation

typedef PrismConnectionSource = Stream<bool> Function();