didUpdateWidget property
void Function(BuildContext context, StateWithMixinBuilder<T, R> oldWidget, T? mix)?
didUpdateWidget
final
StateWithMixinBuilder(
didUpdateWidget:(BuildContext context, StateBuilderBase oldWidget, TickerProvider ticker)=> myModel.myMethod([context,oldWidget, ticker]),
MixinWith : MixinWith.singleTickerProviderStateMixin
builder:(BuildContext context, ReactiveModel model) =>MyWidget(),
)
Called whenever the widget configuration changes.
The third parameter depends on the mixin used. It is a TickerProvider for tickerProviderStateMixin
Implementation
final void Function(
BuildContext context, StateWithMixinBuilder<T, R> oldWidget, T? mix)?
didUpdateWidget;