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 ElevatedButton with external and async loading states.
AsyncFilledButton
A Material FilledButton with external and async loading states.
AsyncFloatingActionButton
A Material FloatingActionButton with external and async loading states.
AsyncIconButton
A Material IconButton with external and async loading states.
AsyncOutlinedButton
A Material OutlinedButton with external and async loading states.
AsyncTextButton
A Material TextButton with 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.