keepAlive property
When this is under a TabView, set to true to keep state even if user changes tab to another view, set to false to recreate this view each time user go back to this tab.
Implementation
final bool keepAlive;
When this is under a TabView, set to true to keep state even if user changes tab to another view, set to false to recreate this view each time user go back to this tab.
final bool keepAlive;