title: I am trying provider, it seams everything fine, but the textField text is not updating in my text widget
body: <p>I am practicing the state management. I am trying to update my textField (First class) to the TextWidgetwhich was in the Second() class. I don't know what problem i have made here?</p>
  <pre><code>void main() {
    runApp(MyApp());
  }
  
  class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return ChangeNotifierProvider&lt;Data&gt;(
        create: (context) =&gt; Data(),
        child: MaterialApp(
          home: First(),
        ),
      );
    }
  }
  </code></pre>
  <p>My First Class</p>
  <pre><code>class First extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        body: Column(
            children: [
              TextField(
                onChanged: (value) {
                  Provider.of&lt;Data&gt;(context).changeString(value);
                },
              ),
              Second(),
            ],
  }
  </code></pre>
  <p>The Second Class</p>
  <pre><code>class Second extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return 
          Text(
            Provider.of&lt;Data&gt;(context).text,
          );
    }
  }
  
  </code></pre>
  <p>My Data class which extends ChangeNotifier</p>
  <pre><code>class Data extends ChangeNotifier {
  
    String text = 'Type Something';
  
    void changeString(String newText) {
      text = newText;
      notifyListeners();
    }
  }
  </code></pre>