title: Flutter-web: Provider loss of state when browser refresh
body: <p>so I'm wondering why does the provider loses state on browser refresh. Doesn't it suppose to keep state after refreshing/reloading?</p>
  <blockquote>
  <p>Would Really appreciate the Help</p>
  <p>default project for flutter</p>
  </blockquote>
  <pre><code>home: ChangeNotifierProvider&lt;Counter&gt;(
        create: (_) =&gt; Counter(),
        child: MyHomePage(title: 'Flutter Demo Home Page')),
  
  
  
   class MyHomePage extends StatelessWidget {
    final String title;
    MyHomePage({this.title});
  
    @override
    Widget build(BuildContext context) {
      final counter = Provider.of&lt;Counter&gt;(context);
      return Scaffold(
        appBar: AppBar(
          title: Text(title),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: &lt;Widget&gt;[
              Text(
                'You have pushed the button this many 
                 times:',
              ),
              Text(
                '${counter.value}',
                style: 
               Theme.of(context).textTheme.headline4,
              ),
            ],
          ),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () =&gt; counter.increment(),
          tooltip: 'Increment',
          child: Icon(Icons.add),
        ), 
      );
    }
  }
  </code></pre>
  <blockquote>
  <p>Here's the Provider Class</p>
  </blockquote>
  <pre><code>import 'package:flutter/foundation.dart';
  
      class Counter with ChangeNotifier {
        
        int value=0;
        void increment() {
          
          value++;
          notifyListeners();
        }
      }
  </code></pre>