flutter_meedu library

Classes

CustomTransition
GetPlatform
MultiProvider
MultiProvider converts the Provider list into a tree of nested Provider widgets. As a result, the only advantage of using MultiProvider is improved readability due to the reduction in nesting and boilerplate.
Provider<T extends BaseController>
class to inject a controller into the widgets tree [...]
ProviderPage<T extends BaseController>
RxBuilder
SimpleBuilder<T extends SimpleController>
SimpleWidget<T extends SimpleController>
StateBuilder<T extends StateController<S>, S>
StateWidget<T extends StateController<S>, S>

Extensions

ContextExtensionss

Properties

final

Functions

arguments(BuildContext context) Object
return the arguments of the current page
canPop() bool
return true if we can do pop
getRoute<T>(Widget page, {Object arguments, bool maintainState = true, bool fullscreenDialog = false, bool backGestureEnabled = true, Transition transition, Duration transitionDuration}) Route<T>
get the transition
maybePop<T>([T result]) Future<bool>
Consults the current route's Route.willPop method, and acts accordingly, potentially popping the route as a result; [...]
pop<T>([T result]) → void
remove the current page or dialog from the stack until predicate
popAndPushNamed<T>(String routeName, {Object arguments}) Future<T>
Pop the current route off the navigator and push a named route in its place
popUntil([bool predicate(Route)]) → void
remove all pages in the stack until predicate
push<T>(Widget page, {Object arguments, bool maintainState = true, bool fullscreenDialog = false, Transition transition, Duration transitionDuration = const Duration(milliseconds: 300), bool backGestureEnabled = false}) Future<T>
Push the given page onto the navigator. [...]
pushNamed<T>(String routeName, {Object arguments}) Future<T>
Push a named route onto the navigator.
pushNamedAndRemoveUntil<T>(String routeName, {bool predicate(Route), Object arguments}) Future<T>
navigates to a new pages and remove until
pushReplacement<T>(Widget page, {Object arguments, bool maintainState = true, bool fullscreenDialog = false, Transition transition, Duration transitionDuration = const Duration(milliseconds: 300), bool backGestureEnabled = false}) Future<T>
Replace the current page of the navigator by pushing the given page and then disposing the previous route once the new route has finished animating in. [...]
pushReplacementNamed<T>(String routeName, {Object arguments}) Future<T>
replace the current page with a new route name
setDefaultTransition(Transition transition, {Duration duration}) → void
set the default transition for all pages

Enums

Transition

Typedefs

ProviderCallback<T>(BuildContext context, T controller) → void