title: How to create Singleton class of SharedPreferences in flutter
body: <p>Always required object of <code>SharedPreferences</code> but we access using  <code>await</code> Like.</p>
  
  <blockquote>
    <p><code>await SharedPreferences.getInstance();</code> <br></p>
  </blockquote>
  
  <p>That's why I thought create Singleton class of <code>SharedPreferences</code>  and create static method for GET &amp; SET data in SharedPreferences. <br></p>
  
  <p>But I dont know how to do this, I try but cant get success<br>
  Please Help me </p>