title: onSelectNotification Navigator not working if app closed flutter
body: <p>onSelectNotification when good when app open </p>
  
  <pre><code>  Future&lt;void&gt; onSelectNotification(String payload) async {
      Category category = Category();
      category.id = notification.idNew;
      category.email = notification.mainphoto;
      category.since = notification.since;
      category.name = notification.title;
      await Navigator.push(
          context,
          MaterialPageRoute(
              builder: (context) =&gt; FourthRoute(
                    category: category,
                  )));
    }
  </code></pre>
  
  <p>when open and click at notification it's go to FourthRoute </p>
  
  <p>but when closed it's just open app Navigator not working </p>
  
  <p>problem at ios and android </p>
  
  <p>i was think to use SharedPreferences inside onSelectNotification to save key
  and check it later </p>
  
  <p>but i read dart not working when app closed </p>