didUpdateWidget property
void Function(BuildContext context, ReactiveModel<T> ? model, StateBuilder<T> oldWidget)?
didUpdateWidget
final
StateBuilder(
didUpdateWidget:(BuildContext context, ReactiveModel model,StateBuilder oldWidget) {
myModel.dispose([context, model]);
},
models:[myModel],
builder:(BuildContext context, ReactiveModel model) =>MyWidget(),
)
Called whenever the widget configuration changes.
Implementation
final void Function(BuildContext context, ReactiveModel<T>? model,
StateBuilder<T> oldWidget)? didUpdateWidget;