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
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
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
Step
Stepper
Switcher
TextField
TimePicker
UnavailableTime

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}) 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, Widget)