material library
Async buttons built on the standalone Material UI library.
Import package:material_ui/material_ui.dart for Material widgets and types.
Classes
- AsyncButtonController
- Observes and requests loading for an async button.
- AsyncButtonGroup
- Allows one pending operation at a time among descendant async buttons.
- AsyncElevatedButton
-
A Material
ElevatedButtonwith external and async loading states. - AsyncFilledButton
-
A Material
FilledButtonwith external and async loading states. - AsyncFloatingActionButton
-
A Material
FloatingActionButtonwith external and async loading states. - AsyncIconButton
-
A Material
IconButtonwith external and async loading states. - AsyncOutlinedButton
-
A Material
OutlinedButtonwith external and async loading states. - AsyncTextButton
-
A Material
TextButtonwith external and async loading states.
Enums
- TransitionAnimationType
- The type of animation between idle and loading content.
Typedefs
-
AsyncButtonErrorHandler
= FutureOr<
void> Function(Object error, StackTrace stackTrace) - A handler that consumes an activation error when it completes successfully.