presentation/utils/utils library

Classes

AccountCodeConfirmationTemplate
AddressStateSelectField
AnimatableStateListView<T>
A useful widget to render animated list views, it handles insert and remove animations based on input data changes
AnimatedDisplayable
AnimatedFadeHeightSwitcher
AnimatedPlaceholder
AppBar
AppLocalizationDelegate
BottomNavBar
BottomNavItem
ChildSizeListener
A utility widget that monitors the size of its child and notifies a callback when the size changes.
CodeField
ComposedActionText
ContainedButton
DefaultBottomItem
DefaultLoadingStyle
ErrorTemplate
GBIcons
GBInputDecorationTheme
GBScaffold
GBText
GBTheme
GBThemeData
GBUiKitLocalizations
GenericDataHandlerWidget
A widget that helps you handling loading, errors and data through the UI with animations
GenericErrorRetry
HandlePasteBuilder
HaveAnAccountLegend
InputFeedbackContainer
InputFeedbackText
LinkButton
LoadingDebouncedBuilder
This widget allows you to debounce a loading state so you can implement transition if state changes too fast sometimes it doesn't have enough time to display a loading indicator this widget tries to solve that issue when changing to loading state transition will begin inmediatly, when loading state changes to false it will wait for the debounce time before staring the transition
LoadingTemplate
LoginTemplate
MultiSelectField<T>
MusicVisualizer
NewPasswordSetFields
NewPasswordSetFieldsState
NewPasswordSetFieldsStyle
OutlinedButton
OverlayCanvas
PasswordField
PasswordFieldState
PickedTime
RenderSliverSizeTransition
ResetPasswordCodeInputTemplate
ResetPasswordRequestTemplate
ResetPasswordSetTemplate
ScreenLoadingIndicator
A widget to be used to render a loading screen this will be useful to render a transition when screen navigation is occurring and a guard is processing async logic
SelectableRadio<T>
SelectField<T>
SelectFieldBase<T>
SelectFieldOption<T>
SignUpTemplate
SliverAppBar
SliverFooter
SliverFooterRenderObject
SliverSizeTransition
Step
Stepper
Switcher
TextField
TimePicker
UnavailableTime
ViewportOverflowListener
A utility widget that monitors its child's position and size to detect viewport overflow.

Extensions

GBThemeExtension on Theme

Properties

theStates List
getter/setter pair

Functions

darken(Color color, [double amount = .1]) Color
lighten(Color color, [double amount = .1]) Color
showAppModal<T>(BuildContext context, {Widget? title, Widget? message, List<Widget>? actions, Widget? customCloseIcon, Widget? icon, Color? backgroundColor, ShapeBorder? shape, bool barrierDismissible = false, EdgeInsetsGeometry? contentPadding, EdgeInsets? insetPadding, bool useRootNavigator = true, Axis actionsDirection = Axis.vertical, double titlesActionsSpacing = 60, double iconTitlesSpacing = 16, double textsSpacing = 16, double actionsSpacing = 16}) Future<T?>
showCupertinoAlert(BuildContext context, {String? title, String? content, List<Widget>? actions}) → void
showSnackBarAlert(BuildContext context, {String? title, String? message, Color? backgroundColor, SnackbarAlertType? type, Duration? duration = const Duration(seconds: 3)}) ScaffoldFeatureController<Widget, dynamic>

Typedefs

AnimatedStateListItemBuilder<T> = Widget Function(BuildContext context, int index, Animation<double> animation, T item)
IdMapper<T> = String Function(T item)
SelectTrailingBuilder = Widget Function(BuildContext context, int index, bool isSelected)
WrapWidgetBuilder = Widget Function(BuildContext context, Widget defaultWidget)