async_value library
A simple utility for handling async states in Flutter.
This package provides AsyncValue and AsyncValueBuilder to manage and display loading, success, and error states more easily and consistently.
Classes
-
AsyncResult<
T, E> - A model class to represent an asynchronous result.
-
AsyncValue<
T, E> - A model class to represent an asynchronous value.
-
AsyncValueBuilder<
T, E> - A widget that builds UI based on the AsyncValue state.
-
PaginatedAsyncValue<
T, E> -
PaginatedAsyncValueBuilder<
T, E>
Enums
- AsyncResultStatus
- Represents the result status of an asynchronous operation.
- AsyncValueStatus
- Represents the status of an asynchronous operation.
- PageState
- Represents the status of an asynchronous pagination operation.