widgets_async library
Async widgets.
Classes
-
AsyncSnapshot<
T> - Immutable representation of the most recent interaction with an asynchronous computation.
- ChangeNotifier
- A class that can be extended or mixed in that provides a change notification API using VoidCallback for notifications.
-
FutureBuilder<
T> - Widget that builds itself based on the latest snapshot of interaction with a Future.
- Listenable
- An object that maintains a list of listeners.
-
StreamBuilder<
T> - Widget that builds itself based on the latest snapshot of interaction with a Stream.
-
ValueListenable<
T> - An interface for subclasses of Listenable that expose a value.
-
ValueListenableBuilder<
T> - A widget whose content stays synced with a ValueListenable.
-
ValueNotifier<
T> - A ChangeNotifier that holds a single value.
Enums
- ConnectionState
- The state of connection to an asynchronous computation.
Typedefs
-
ValueWidgetBuilder<
T> = Widget Function(BuildContext context, T value, Widget? child) - Builds a Widget when given a concrete value of a ValueListenable<T>.