title: state manager that save data when app close for flutter
body: <p>Is there any state manager for flutter that when app closes the data save. For example i have a shopping app and cart I have a model for cart but when I close app and reopen the saved data is lost.</p>
  
  <p>What can I do for this problem?</p>
  
  <p>I use the <a href="https://pub.dev/packages/provider" rel="nofollow noreferrer">provider</a> but it doesn't save data when app closed.</p>
  
  <p>Please give me a solution for develop cart list or something like to-do app (except SharedPreferences)</p>