title: How to preserve selections of user during screen transitions in Flutter
body: <p>I have a bottom navigation bar which includes home button, screen1 button and screen2 button. User is making some selections on home screen.
  After that he taps the screen1 button on bottom navigation bar and goes to screen 1. 
  Then in order to return home screen, he taps home button. But home screen rebuild and all information has gone.
  I tried AutomaticKeepAliveClientMixin  but it is not working. My code sample is below. Is there any mistake here?</p>
  
  <pre><code>class _HomeScreenState extends State&lt;HomeScreen&gt;
      with AutomaticKeepAliveClientMixin {
  
  @override
    bool get wantKeepAlive =&gt; true;
  
   @override
    Widget build(BuildContext context) {
      super.build(context);
      return Scaffold(
  </code></pre>