didChangeDependencies property

void Function(BuildContext context, ReactiveModel<T>? model)? didChangeDependencies
final
StateBuilder(
 didChangeDependencies:(BuildContext context, ReactiveModel model) {
    //...your code
  },
 models:[myModel],
 builder:(BuildContext context, ReactiveModel model) =>MyWidget(),
)

Called when a dependency of this State object changes.

Implementation

final void Function(BuildContext context, ReactiveModel<T>? model)?
    didChangeDependencies;