widgets/x_async_view library
Classes
-
XAsyncState<
T> - An immutable, state-management agnostic representation of asynchronous data.
-
XAsyncView<
T> - Renders initial, loading, data, empty, and error states consistently.
Enums
- XAsyncStatus
- Describes the lifecycle state rendered by XAsyncView.
Typedefs
-
XAsyncDataBuilder<
T> = Widget Function(BuildContext context, T data) - XAsyncErrorBuilder = Widget Function(BuildContext context, Object error, VoidCallback? retry)