didUpdateWidget property Null safety

(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, Injected 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;