title: How do I compare two app versions in flutter?
body: <p>I was trying to compare two different app version in flutter,
  But I am not able to assign , App versions in a variable.</p>
  <pre><code>var a = 1.0.0;
  var b = 1.0.1;
  </code></pre>
  <p>But the values not getting assigned in variables.</p>
  <p>I think 1.0.0 is not float value, so how to assign that value and compare them ?</p>