get_modular library

Classes

Bind<T>
ChildModule
Consumer<T extends ChangeNotifier>
CustomTransition
Disposable
Get
GetBar<T extends Object>
GetModalBottomSheetRoute<T>
GetObserver
GetPlatform
GetRoute<T>
Inject<T>
MainModule
Modular
ModularApp
ModularArguments
ModularState<TWidget extends StatefulWidget, TBind>
ModularStatelessWidget<T extends ChildModule>
ModuleWidget
RouteGuard
Router<T>
Routing
SnackRoute<T>

Mixins

InjectMixinBase<T>
InjectWidgetMixin<T extends ChildModule>
A mixin that must be used only with classes that extends a Widget T the module to be injected on the widget.
ModularStateMixin<T extends StatefulWidget, TBind>

Properties

It replaces the Flutter Navigator, but needs no context. You can to use navigator.push(YourRoute()) rather Navigator.push(context, YourRoute());
read-only

Functions

showSnack<T>({GetBar<Object> snack}) SnackRoute

Enums

SnackDismissDirection
Indicates the direction in which it is possible to dismiss If vertical, dismiss up will be allowed if SnackPosition.TOP If vertical, dismiss down will be allowed if SnackPosition.BOTTOM
SnackPosition
Indicates if snack is going to start at the TOP or at the BOTTOM
SnackStatus
Indicates the animation status SnackStatus.SHOWING Snack has stopped and the user can see it SnackStatus.DISMISSED Snack has finished its mission and returned any pending values SnackStatus.IS_APPEARING Snack is moving towards SnackStatus.SHOWING SnackStatus.IS_HIDING Snack is moving towards [] SnackStatus.DISMISSED
SnackStyle
Indicates if snack will be attached to the edge of the screen or not
Transition
TransitionType

Typedefs

OnTap(GetBar<Object> snack) → void
SnackStatusCallback(SnackStatus status) → void

Exceptions / Errors

ModularError