ui_components library UI Components
Classes
- ButtonColorStyle
- Config class used for setting up colors of the different states of the buttons
- DynamicIcon
- ErrorCardWidget
- ErrorCardWidget is an error widget presenting an error as a widget. It provides an option to display a retry button in case the user wants to repeat an operation.
- GradientFillButton
- Button widget which can be used as a regular button or one with a gradient.
- IconTextButton
-
MessagePanelError<
BlocType extends RxBlocTypeBase> - MessagePanelWidget
- ModalConfiguration
- App Modal sheet configuration used for controlling different parts and options of a modal sheet, such as height factor, header pill or the close button.
- OutlineFillButton
- SizedLoadingIndicator
- SmallButton
Extensions
Functions
-
showBlurredBottomSheet<
T> ({required BuildContext context, required WidgetBuilder builder, ModalConfiguration configuration = const ModalConfiguration(), WidgetBuilder? headerBuilder, VoidCallback? onCancelPressed}) → Future< T?> -
Displays a customizable modal sheet with a background blur effect. Requires
a
builder
method which returns the contents of the modal sheet. -
showErrorBlurredBottomSheet<
T> ({required BuildContext context, required String error, Widget? headerWidget, Widget? image, dynamic retryCallback(BuildContext)?, dynamic onCancelCallback()?, ModalConfiguration configuration = const ModalConfiguration(showCloseButton: false), String retryButtonText = 'Retry', ButtonStateModel? retryButtonState}) → Future< T?> -
Displays a customizable modal sheet with a background blur effect. Requires
an
error
which will be presented on the modal sheet, with an optional retry functionality.
Typedefs
-
ErrorStateCallback<
BlocType extends RxBlocTypeBase> = Stream< ErrorModel?> Function(BlocType bloc)