dock library

Dock Library

Classes

AutoResizeText
A Custom Text widget resizes to fit parent's constraints
BaseView<T extends BaseViewModel<Object>>
AN ABSTRACT StatelessWidget FOR OPTIONALLY REGISTERING VIEWMODEL OF ANY VIEW
BaseViewModel<T extends Object>
AN ABSTRACT BaseViewModel CLASS FOR CONTROLLING VIEW.
Blank
Blurred
DockAccess<T extends BaseViewModel<Object>>
A CONST StatelessWidget FOR ACCESSING VIEWMODEL EASILY
DockBase
DOCK ABSTRACT BASE CLASS
Docker<T extends BaseViewModel<Object>>
Primitive (Manual) updatable StatelessWidget by it's id
DockerStatelessElement
A StatelessElement of Docker to update it's Widget
LoaderManager
Helper class for showing loader dialog
LoaderRoute
A DialogRoute shows CircularProgressIndicator in center
Logger
A UTILITY FOR PRINTING COLORFUL LOGS FOR DEBUG AND PROFILE MODE
Notifier
Simply a bridge between Observable and ObserverStatelessElement (or call it Observer)
NotifyData
Data passed between Observable and Observer
Observable<T>
Observer
A reactive StatelessWidget receives update when containing
ObserverStatelessElement
A StatelessElement of Observer for updating it's Widget
OverlayManager
Simple OverlayManager for showing overlays(toasts or custom overlays).
SliverBlank
StateBuilder<T extends BaseViewModel<Object>>
A SMART AND EASY Widget FOR MANAGING PageState
ViewConfig
Config for Injection of View

Enums

LogColors
Enumerations of color codes for ease of use
PageState
PageState
ToastPosition
Screen position of Toast

Mixins

DockSingleTickerProviderMixin<T extends BaseViewModel<Object>>
FLUTTER'S DEFAULT SingleTickerProviderStateMixin SUITABLE FOR VIEWMODELS EXTEND FROM BaseViewModel
DockTickerProviderMixin<T extends BaseViewModel<Object>>
FLUTTER'S DEFAULT TickerProviderStateMixin SUITABLE FOR VIEWMODEL'S EXTEND FROM BaseViewModel
StateBuilderMixin<T extends BaseViewModel<Object>>
MIXIN FOR StateBuilder STATE

Extensions

ContextExtension on BuildContext
BuildContext EXTENSION
DurationExtension on Duration
Duration EXTENSIONS
GenericExtension on T
GENERIC EXTENSION
IntExtension on int
int EXTENSION
ListExtension on List<T>?
List EXTENSION
MapExtension on Map<T, M>?
Map EXTENSION
ObjectExtension on Object?
Object EXTENSION
SetExtension on Set<T>?
Set EXTENSION

Properties

Dock → _Dock
GLOBAL INSTANCE OF _Dock CLASS
final
Locator → _LocatorImpl
Global instance of _LocatorImpl class
final
TestLocator → _LocatorImpl
Creates new Locator instance for testing only
no setter

Typedefs

PositionedBuilder = Positioned Function(BuildContext context)

Exceptions / Errors

LocatorException
LocatorException
ObserverError
ObserverError while no Observable detected inside Observer Widget