title: How to save data in my settings menu in Flutter?
body: <p>I was wondering how to save data locally in Flutter. I am creating a Settings menu in my app, and I have a draft made of that UI, but I want to save the user's preferences when they close that menu, but I have no idea how to accomplish that.</p>
  <p>Do you know some tutorial to do so? I have searched in Youtube, but I have no idea how to search for it. I have only found UI tutorials and I don't want that.</p>
  <p>A picture of my UI is (I want to save that boolean option).</p>
  <p><a href="https://i.stack.imgur.com/IxweH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/IxweH.png" alt="enter image description here" /></a></p>
  <p>I would appreciate any help you could give to me!</p>