grock library

Enums

ButtonAnimationEffect
DisposeLevel
GrockCrossFadeState
GrockCrossFadeType
GrockDioType
With this data type, you can determine the method types of your API requests.
GrockFocusAnimationType
GrockFocusChildType
GrockFocusTappedType
GrockMaskAutoCompletionType
GrockMenuAnimationType
GrockMenuTapType
Grock Menu IOS Style Widget A menu tray that can be used to display a menu of items. The menu tray is a container that can be used to display a menu of items.
GrockPopupMenuStatus
GrockTimerState
GrockUniqIdType
PopupMenuEffectType
PositionF
SlideTransitionType
SnackbarPosition
XMenuInkType

Mixins

GrockMixin<T extends StatefulWidget>
Grock Mixin This mixin is used to add grock functionality to a class.

Properties

now → DateTime
shot for DateTime.now
no setter
random ↔ Random
getter/setter pair
today → DateTime
Returns current date without time information.
no setter
tomorrow → DateTime
Returns tomorrow's date without time information.
no setter
yesterday → DateTime
Returns yesterday's date without time information.
no setter

Functions

runCaching<T>(FutureOr<T?> action(), {FutureOr<T?> onError(dynamic error, StackTrace stacktrace)?}) → FutureOr<T?>
Executes a provided action and handles potential errors.
TODO([String? reason]) → void
Always throws UnimplementedError stating that operation is not implemented.

Typedefs

GrockXMenuController = XMenuController
XMenuAnimationBuilder = void Function(AnimationController animCtr)