title: How to compare String with case insensitivity, in Dart?
body: <p>How do I compare two string in Dart, with case insensitivity?</p>
  
  <p>For example, I have this list:</p>
  
  <pre><code>var list = ['Banana', 'apple'];
  </code></pre>
  
  <p>And I would like to sort it such that <code>apple</code> is before <code>Banana</code>.</p>
  
  <p>End result:</p>
  
  <pre><code>['apple', 'Banana'];
  </code></pre>