ui/widgets/widgets library

Classes

FastActionCard
FastAlertDialog
FastAppCopyright
A widget that displays the app's name, author and year.
FastAppInformation
A widget that displays the app's name, author and year.
FastAppVersion
A widget that displays the app's version.
FastArticle
FastBadge
A badge widget that can be used to display a small amount of information.
FastBaseTypography
FastBody
BODY 1 18px normal lowercase
FastBody2
BODY 2 18px normal lowercase
FastButton
FastButtonLabel
BUTTON 16px semibold uppercase
FastCaption
CAPTION 16px light lowercase
FastCard
FastDialog
FastDisplay
DISPLAY 1 48px regular lowercase
FastDivider
FastDuotoneBadge
A duotone badge widget that can be used to display a small amount of information.
FastExpansionPanel
FastExpansionPanelState
FastFilledButton
FastFilledButtonState
FastHeadline
HEADLINE 34px medium lowercase
FastHelper
OVERLINE 14px light lowercase
FastInstruction
FastInstructions
FastLinearProgressBarIndicator
A linear progress bar indicator.
FastListHeader
FastListView<T extends FastItem>
FastNavigationListItem<T extends FastItem>
FastNavigationListView<T extends FastItem>
FastNavigationListViewState<T extends FastItem>
FastNumberField
FastNumberFieldState
FastOperationControlledDialog
This widget manages and displays various states of an operation.
FastOperationControlledDialogState
The state associated with FastOperationControlledDialog.
FastOverline
OVERLINE 14px light lowercase
FastPadding
FastPadding12
FastPadding16
FastPadding24
FastPadding8
FastParagraph
FastPendingReadOnlyTextField
FastPlaceholder
PLACEHOLDER 18px light lowercase
FastPlaceHolderHeadline
PLACEHOLDER HEADLINE 34px light lowercase
FastPlaceholderTitle
PLACEHOLDER TITLE 24px light lowercase
FastPrimaryBackgroundContainer
A stateless widget that displays a container with the primary background color of the current theme.
FastReadOnlyTextField
FastRoundedDuotoneIcon
FastRoundedIcon
FastSearchBar<T extends FastItem>
FastSearchBarState<T extends FastItem>
FastSearchField
FastSearchFieldState
FastSecondaryBody
SECONDARY BODY 18px normal lowercase
FastSecondaryButton
SECONDARY BUTTON 14px medium uppercase
FastSecondaryCaption
SECONDARY CAPTION 12px medium uppercase
FastSecondaryOverline
SECONDARY OVERLINE 10px medium uppercase
FastSecondarySubtitle
SECONDARY SUBTITLE 14px medium uppercase
FastSegmentField<T>
FastSelectableListItem<T extends FastItem>
FastSelectableListView<T extends FastItem>
FastSelectField<T>
FastShimmer
A shimmer widget that can be used to display a loading state.
FastSubhead
SUBHEAD 18px semibold uppercase
FastSubtitle
SUBTITLE 16px semibold lowercase
FastTabs
FastTextField
FastTextFieldState
FastThreeBounceIndicator
FastTitle
TITLE 24px regular lowercase
FastToggleListItem<T extends FastItem>

Functions

showAnimatedFastAlertDialog<T extends Object?>({required BuildContext context, String? titleText, bool barrierDismissible = true, Color? backgroundColor, List<Widget>? children, VoidCallback? onCancel, List<Widget>? actions, VoidCallback? onValid, String? messageText, String? cancelText, String? validText, Color? titleColor, bool? showCancel, bool? showValid}) Future<T?>
showAnimatedFastOverlay<T extends Object?>({required BuildContext context, required Widget child, bool barrierDismissible = true}) Future<T?>
Shows a dialog with an animated overlay.
showFastAlertDialog({required BuildContext context, required String titleText, bool barrierDismissible = true, Color? backgroundColor, List<Widget>? children, VoidCallback? onCancel, List<Widget>? actions, VoidCallback? onValid, String? messageText, String? cancelText, String? validText, Color? titleColor}) Future<void>
showOperationControlledDialog({required BuildContext context, required WidgetBuilder intialBuilder, required FutureBoolCallback onCreateOperation, String? onGetValidText(FastOperationStatus)?, String? onGetCancelText(FastOperationStatus)?, String? onGetTitleText(FastOperationStatus)?, Widget errorBuilder(BuildContext context, dynamic error)?, bool barrierDismissible = false, FastOperationStatusChanged? onOperationStatusChanged, FutureBoolCallback? onVerifyRights, FutureBoolCallback? onGrantRights, WidgetBuilder? verifyingRightsBuilder, WidgetBuilder? grantingRightsBuilder, WidgetBuilder? rightsDeniedBuillder, WidgetBuilder? operationInProgressBuilder, WidgetBuilder? operationSucceededBuilder, WidgetBuilder? operationFailedBuilder, WidgetBuilder? missingRightsBuilder, FastOperationStatusChanged? onCancel, FastOperationStatusChanged? onValid}) → void

Typedefs

FastOperationStatusChanged = void Function(FastOperationStatus)?
Callback for when the operation status changes.
UrlLinkCallback = void Function(String url)