MVUContext<Model, Msg>.withTicker constructor
MVUContext<Model, Msg>.withTicker ({
- required MsgWidgetBuilderWithTickerProvider<
Model, Msg> view, - Widget onContextMissing = const SizedBox.shrink(),
- Key? key,
Creates a new MVUContext widget recovering the MVUProcessor from the context. Access to the TickerProvider is provided.
Implementation
MVUContext.withTicker(
{required MsgWidgetBuilderWithTickerProvider<Model, Msg> view,
this.onContextMissing = const SizedBox.shrink(),
super.key})
: _view = view;