helper/helper library

Classes

AppBlocObserver
AppSharedPreferences
CacheHelper
Error<S, E>
Error Result.
GlobalFunctions
GtdColors
GtdLoadMoreExtention
A list view that can be used for incrementally loading items when the user scrolls. This is an extension of the ListView widget that uses the ListView.builder constructor.
GtdLoadMoreExtentionState
GtdLoadMoreSliverExtention
GtdLoadMoreSliverExtentionState
GtdPagingScrollPhysics
GtdResourceLoader
GtdVersion
GTD Helper package version information
Logger
Result<S, E>
Base Result class
Success<S, E>
Success Result.
Tuple<T1, T2>
Unit
Used instead of void as a return statement for a function when no value is to be returned.

Constants

fullDateTimePattern1 → const String
fullDateTimePattern2 → const String
kTextValidatorEmailRegex → const String
kTextValidatorUsernameRegex → const String
kTextValidatorWebsiteRegex → const String
shortPattern → const String
unit → const Unit
Used instead of void as a return statement for a function when no value is to be returned.
utcPattern → const String

Properties

dateFormat ↔ DateFormat
getter/setter pair
dateFormatFlight ↔ DateFormat
getter/setter pair
fullDateTimeFormat ↔ DateFormat
getter/setter pair
iosDateFormat ↔ DateFormat
getter/setter pair
isAndroid bool
no setter
isiOS bool
no setter
isWeb bool
no setter
monthYearFormat ↔ DateFormat
getter/setter pair

Functions

fixStatusBarOniOS16AndBelow(BuildContext context) → void
getWidgetBoundingBox(BuildContext context) Rect?
Get Widget bounding
launchURL(String url) Future
showSnackbar(BuildContext context, String message, {bool loading = false, int duration = 4}) → void
valueOrDefault<T>(T? value, T defaultValue) → T

Typedefs

GtdCallback<T> = void Function(T value)
GtdVoidCallback<T> = void Function()
HasMore = bool Function()
ItemCount = int Function()
LoadMore = Future Function()
OnLoadMore = void Function()
OnLoadMoreFinished = void Function()
ResultOf<S, E> = Result<S, E>
Alias for Result