disposeViewModel property
Indicates if you want Provider to dispose the ViewModel when it's removed from the widget tree.
default's to true
Implementation
final bool disposeViewModel;
Indicates if you want Provider to dispose the ViewModel when it's removed from the widget tree.
default's to true
final bool disposeViewModel;