onDependenciesChanged method
Called when the widget's dependencies change (e.g. an InheritedWidget). Use this to update the ViewModel in response to dependency changes.
Implementation
void onDependenciesChanged(BuildContext context, T viewModel) {}
Called when the widget's dependencies change (e.g. an InheritedWidget). Use this to update the ViewModel in response to dependency changes.
void onDependenciesChanged(BuildContext context, T viewModel) {}