title: Flutter - Best way to store a List of Objects every time I close the application?
body: <p><strong>The situation:</strong><br />
  I'm very new to Flutter and mobile development, thus I don't know much about Dart; And I've read some solutions from people with similar problems but didn't manage to work these solutions to my own thing.</p>
  <p><strong>The problem:</strong><br />
  I have a to-do app that has 2 Lists of Objects, and I want to store those Lists for whenever the user re-open the app.</p>
  <p>I know its simple stuff but I feel like I'm storming towards this problem due to the lack of experience... And so I decided to come asking for some light.</p>
  <p><strong>What I've tried:</strong><br />
  I have come across different solutions for this problem and all of them seemed way too complex to this case (compared to what I'm used to do when saving lists to the archive), including: encoding the list to a map and converting to a string before using SharedPreferences, using SQlite database (every tutorial I've come across made me feel like I'd be using a war tank to kill an ant, I'd say the same about firebase).</p>
  <p><strong>Structure of the problem:</strong><br />
  ToDo screen with a ListView.builder calling 2 arrays: ongoing tasks and done tasks each of which I want to write to the phone whenever the user makes a change. IDK if I should only try to save those arrays from within the class from which they belong by calling some packages methods, or if I should try to store the <em>entire application</em> if such thing is possible.</p>
  <p><strong>Conclusion:</strong><br />
  Is there a way to solve this in a simple way or I should use something robust like firebase just for that? even though I'm not used to work with firestore, and so I'm in the dark not knowing how to apply such thing to save data.</p>
  <p><strong>How my lists are structured:</strong></p>
  <pre><code>List&lt;Task&gt; _tasks = [
      Task(
        name: &quot;do something&quot;,
        description: &quot;try to do it fast!!!&quot;,
      ),
    ];
  
  List&lt;Task&gt; _doneTasks = [
   Task(
        name: &quot;task marked as done&quot;,
        description: &quot;something&quot;,
      ),
  ];
  </code></pre>