maintainState property
Indicates that this route should be cached in memory when it is not on-screen. This maintains all stateful widgets, textControllers, scrollers etc but consumes more RAM.
Implementation
final bool maintainState;
Indicates that this route should be cached in memory when it is not on-screen. This maintains all stateful widgets, textControllers, scrollers etc but consumes more RAM.
final bool maintainState;