didChangeDependencies property Null safety

(void Function?(BuildContext context, Injected<R>? rm, T? mix)?) didChangeDependencies
final
StateWithMixinBuilder(
 didChangeDependencies:(BuildContext context,  TickerProvider ticker)=> myModel.myMethod([context, ticker]),
 MixinWith : MixinWith.singleTickerProviderStateMixin
 builder:(BuildContext context, Injected model) =>MyWidget(),
)

Called when a dependency of this State object changes.

The second parameter depends on the mixin used. It is a TickerProvider for tickerProviderStateMixin

Implementation

final void Function(BuildContext context, Injected<R>? rm, T? mix)?
    didChangeDependencies;