title: How to set state after dispose() in flutter?
body: <p>I have 2 pages, in the first page I have a button which is on click will open second page, in second page I have variable <code>number = 999;</code> so when I back to the first page I want to show the number <code>print(number);</code> or display on <code>Text(number)</code> How to do it with <code>dispose()</code> ?</p>
  
  <pre><code>@override
  void dispose() {
      super.dispose();
      // send data to the first page
  }
  </code></pre>
  
  <p>thanks for your answer</p>