maintainState property
Whether to destroy the state of the provider when all listeners are removed or not.
Can be changed at any time, in which case when setting it to false
,
may destroy the provider state if it currently has no listeners.
Defaults to false
.
Implementation
@Deprecated('Use `keepAlive()` instead')
@override
bool get maintainState => _maintainState;