flutter_async library
A library to easily display asynchronous operations in Flutter.
Classes
- AnimatedSizeConfig
- Configuration for AnimatedSize.
- Async
- Async scope for flutter_async.
-
AsyncBuilder<
T> - A Widget that listens to Future and Stream events.
- AsyncBuilderConfig
-
The configuration of
AsyncBuilder
. -
AsyncBuilderState<
T> - The State of AsyncBuilder.
- AsyncButton
- AsyncButtonConfig
-
The configuration of
AsyncButton
. - AsyncButtonResolvedConfig
-
The resolved config of
AsyncButton
. - AsyncButtonState
-
The
AsyncState
of AsyncButton. - AsyncConfig
-
The entire configuration of
flutter_async
, holded by Async. - AsyncElevatedButton
- Async version of ElevatedButton.
- AsyncFilledButton
- Async version of FilledButton.
- AsyncFloatingActionButton
- Async version of FloatingActionButton.
- AsyncIconButton
- Async version of FloatingActionButton.
- AsyncIndicator
- A smart adaptive CircularProgressIndicator.
-
AsyncKey<
T> - A GlobalKey that can be used to access the AsyncButtonState or AsyncBuilderState of an AsyncButton or AsyncBuilder.
- AsyncOutlinedButton
- Async version of OutlinedButton.
- AsyncTextButton
- Async version of TextButton.
Enums
Extensions
- AsyncButtonConfigExtension on AsyncButtonConfig
- AsyncButtonDuplicateExtension on _AsyncMixin
- AsyncButtonExtension on ButtonStyleButton
- Extension for ButtonStyleButton to be used as an async button.
- AsyncFabDuplicateExtension on AsyncFloatingActionButton
- AsyncFloatingActionButtonExtension on FloatingActionButton
-
AsyncFutureExtension
on Future<
T> - AsyncIconButtonDuplicateExtension on AsyncIconButton
- AsyncIconButtonExtension on IconButton
- AsyncMessageException on Exception
- Message of an exception.
-
AsyncSnackBar
on Future<
T> - ContextElementExtension on BuildContext
- A BuildContext extension for Element, State and Widget visits.
-
FlutterAsyncSnapshotExtension
on AsyncSnapshot<
T>
Typedefs
- AsyncButtonConfigurator = AsyncButtonConfig? Function(BuildContext context)
- Signature for a function that creates a AsyncButtonConfig.
- AsyncButtonLogger = void Function(AsyncButtonEvent event, AsyncButtonState state)
- AsyncButtonStateBuilder = Widget Function(BuildContext context, AsyncButtonState state, Widget child)
- Signature for a function that creates a Widget for AsyncButton.
-
AsyncPagedBuilder<
T> = Widget Function(BuildContext context, ScrollController controller, List< T> data) - Signature to build the paged list of data.
- AsyncThemeGetter = ThemeData Function(BuildContext context)
- Gets a ThemeData from a BuildContext.
-
DataBuilder<
T> = Widget Function(BuildContext context, T data) -
A signature for the
AsyncBuilder
function. - ErrorBuilder = Widget Function(BuildContext context, Object error, StackTrace stackTrace)
- A signature for the Async.errorBuilder function.
- SnackBarBuilder = SnackBar Function(BuildContext context, String message)
- Signature for a function that creates a SnackBar.
- ThemeBuilder = ThemeData Function(BuildContext context)
- A signature for the Async.loadingBuilder function.