grex_ds library

Classes

AlignedGridView
A scrollable, 2D array of widgets placed according to the aligned layout.
AppendedSliverChildBuilderDelegate
A SliverChildBuilderDelegate with an extra item (appendixBuilder) added to the end.
AppendedSliverGrid
CupertinoSwitchListTile
GrxAnimatedLoadingButtonController
GrxAnimatedSliverHeader
GrxAutocompleteDropdownFormField<T>
GrxBackButton
GrxBodyLargeText
A Design System's Text primarily used by body texts
GrxBodyLargeTextStyle
A Design System's TextStyle primarily used by body texts.
GrxBodySmallText
A Design System's Text primarily used by body texts
GrxBodySmallTextStyle
A Design System's TextStyle primarily used by body texts.
GrxBodyText
A Design System's Text primarily used by body texts
GrxBodyTextStyle
A Design System's TextStyle primarily used by body texts.
GrxBottomButton
GrxBottomSheetService
GrxCard
GrxCheckbox
GrxCheckboxListTile
GrxChip
GrxCircleButton
GrxCloseButton
GrxColors
GrxCountry
GrxCountryUtils
GrxCustomDropdownFormField<T>
GrxDashedDivider
GrxDateTimePickerFormField
GrxDismissibleKeyboard
GrxDismissibleScaffold
GrxDisplayLargeText
A Design System's Text primarily used by large titles
GrxDisplayLargeTextStyle
A Design System's TextStyle primarily used by large titles.
GrxDisplaySmallText
A Design System's Text primarily used by Small titles
GrxDisplaySmallTextStyle
A Design System's TextStyle primarily used by large titles.
GrxDisplayText
A Design System's Text primarily used by titles
GrxDisplayTextStyle
A Design System's TextStyle primarily used by large titles.
GrxDivider
GrxDropdownFormField<T>
GrxFadeTransition
GrxFederativeUnit
GrxFilterButton
GrxFontFamilies
Store the default font families available.
GrxFontWeights
All font weights available.
GrxFormFieldController<T>
GrxHeader
GrxHeadlineLargeText
A Design System's Text primarily used by large titles
GrxHeadlineLargeTextStyle
A Design System's TextStyle primarily used by large titles.
GrxHeadlineSmallText
A Design System's Text primarily used by small titles
GrxHeadlineSmallTextStyle
A Design System's TextStyle primarily used by small titles.
GrxHeadlineText
A Design System's Text primarily used by medium titles
GrxHeadlineTextStyle
A Design System's TextStyle primarily used by medium titles.
GrxHelpWidget
GrxIconButton
GrxIcons
GrxImagePickerService
GrxLabelLargeText
A Design System's Text primarily used by large captions
GrxLabelLargeTextStyle
A Design System's TextStyle primarily used by large captions.
GrxLabelSmallText
A Design System's Text primarily used by small captions
GrxLabelSmallTextStyle
A Design System's TextStyle primarily used by small captions.
GrxLabelText
A Design System's Text primarily used by normal captions.
GrxLabelTextStyle
A Design System's TextStyle primarily used by normal captions.
GrxLinkify
An utility class that has methods related to likified texts.
GrxListEmpty
GrxListError
GrxMultiSelectFormField<T>
GrxPhoneFormField
GrxPrimaryButton
GrxRadius
GrxRegexUtils
GrxResponsiveLayout
GrxRoundedButton
GrxRoundedCheckbox
GrxSearchableHeader
GrxSearchableSliverHeader
GrxSearchField
GrxSecondaryButton
GrxSliverAnimatedList<T>
GrxSpacing
GrxSpinnerLoading
GrxSvg
GrxSwitchFormField
A Design System's FormField used like a switch
GrxSystemOverlayStyle
GrxTertiaryButton
GrxText
A container that has some default properties which should be extended by others Design System's Text.
GrxTextField
GrxTextFormField
A Design System's FormField used like text fields.
GrxTextStyle
A container that has some default properties which should be extended by others Design System's TextStyle.
GrxTextTheme
A TextTheme used by Material Design to automatically apply our Design System's TextStyle.
GrxThemeData
GrxTitleLargeText
A Design System's Text primarily used by normal titles
GrxTitleLargeTextStyle
A Design System's TextStyle primarily used by normal titles.
GrxTitleSmallText
A Design System's Text primarily used by normal titles
GrxTitleSmallTextStyle
A Design System's TextStyle primarily used by normal titles.
GrxTitleText
A Design System's Text primarily used by normal titles
GrxTitleTextStyle
A Design System's TextStyle primarily used by normal titles.
GrxToastAction
GrxToastService
GrxUserAvatar
GrxUtils
All utility constants that are used by this Design System.
MasonryGridView
A scrollable, 2D array of widgets placed according to the masonry layout.
Omit<T>
Sentinel value to omit a parameter from a copyWith call. This is used to distinguish between a parameter being omitted and a parameter being set to null. See https://github.com/dart-lang/language/issues/140 for why this is necessary.
PagedAlignedGridView<PageKeyType, ItemType>
A AlignedGridView with pagination capabilities.
PagedChildBuilderDelegate<ItemType>
Supplies builders for the visual components of paged views.
PagedGridView<PageKeyType, ItemType>
A GridView with pagination capabilities.
PagedLayoutBuilder<PageKeyType, ItemType>
Facilitates creating infinitely scrolled paged layouts.
PagedListView<PageKeyType, ItemType>
A ListView with pagination capabilities.
PagedMasonryGridView<PageKeyType, ItemType>
A MasonryGridView with pagination capabilities.
PagedPageView<PageKeyType, ItemType>
Paged PageView with progress and error indicators displayed as the last item.
PagedSliverAlignedGrid<PageKeyType, ItemType>
A SliverAlignedGrid with pagination capabilities.
PagedSliverGrid<PageKeyType, ItemType>
Paged SliverGrid with progress and error indicators displayed as the last item.
PagedSliverList<PageKeyType, ItemType>
A SliverList with pagination capabilities.
PagedSliverMasonryGrid<PageKeyType, ItemType>
A SliverMasonryGrid with pagination capabilities.
PagingController<PageKeyType, ItemType>
A controller to handle a PagingState.
PagingListener<PageKeyType, ItemType>
PagingState<PageKeyType, ItemType>
Represents the state of a paginated layout.
PagingStateBase<PageKeyType, ItemType>
The default implementation of PagingState.
QuiltedGridRepeatPattern
Defines how a pattern is repeating.
QuiltedGridTile
A tile for SliverQuiltedGridDelegate.
RenderSliverMasonryGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverAlignedGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverMasonryGrid
A sliver that places multiple box children in a two dimensional arrangement.
SliverMasonryGridParentData
Parent data structure used by RenderSliverMasonryGrid.
SliverQuiltedGridDelegate
Controls the layout of a quilted grid.
SliverSimpleGridDelegate
Controls the layout of tiles in a some slivers.
SliverSimpleGridDelegateWithFixedCrossAxisCount
Creates grid layouts with a fixed number of tiles in the cross axis.
SliverSimpleGridDelegateWithMaxCrossAxisExtent
Creates grid layouts with tiles that each have a maximum cross-axis extent.
SliverStairedGridDelegate
Controls the layout of tiles in a staired grid.
SliverWovenGridDelegate
Controls the layout of tiles in a woven grid.
StaggeredGrid
A grid which lays out children in a staggered arrangement. Each child can have a different size. Wrap your children with a StaggeredGridTile to specify their size if it's different from a 1x1 tile.
StaggeredGridTile
Represents the size of a StaggeredGrid's tile.
StairedGridTile
A tile of a staired pattern.
WovenGridTile
A tile of a woven pattern.

Enums

GrxAlign
GrxCountryId
GrxTextTransform
A Design System's enum that can be used to set text transform to every GrxText component.
PagedLayoutProtocol
The Flutter layout protocols supported by PagedLayoutBuilder.
PagingStatus
All possible status for a pagination.

Extensions

IntPagingStateExtension on PagingState<int, ItemType>
Helper extensions to make working with PagingState with integer keys easier.
PagingControllerExtension on PagingController<PageKeyType, ItemType>
Helper extensions to quickly access the state of a PagingController.
PagingStateExtension on PagingState<PageKeyType, ItemType>
Helper extensions to make working with PagingState easier.
PagingStatusExtension on PagingState
Extension methods for PagingState to determine the current status.
Uint8ListExtension on Uint8List

Typedefs

CompletedListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder? noMoreItemsIndicatorBuilder)
Defaulted<T> = FutureOr<T>
ErrorListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder newPageErrorIndicatorBuilder)
FetchPageCallback<PageKeyType, ItemType> = FutureOr<List<ItemType>> Function(PageKeyType pageKey)
A callback to fetch a page.
ItemWidgetBuilder<ItemType> = Widget Function(BuildContext context, ItemType item, int index)
LoadingListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder newPageProgressIndicatorBuilder)
NextPageCallback = VoidCallback
Called to request a new page of data.
NextPageKeyCallback<PageKeyType, ItemType> = PageKeyType? Function(PagingState<PageKeyType, ItemType> state)
A callback to get the next page key. If this function returns null, it indicates that there are no more pages to load.
SliverGridBuilder = Widget Function(int childCount, SliverChildDelegate delegate)
Usually returns a SliverWithKeepAliveWidget
SliverSimpleGridDelegateBuilder = SliverSimpleGridDelegate Function(int childCount)