title: How to write condition statements in flutter?
body: <p>I wanted to learn how can I apply "if" condition in my flutter code? As I am new to dart language coding.</p>
  
  <p><strong>Suppose</strong> in a code like below, i want to add condition that if the counter's value is 1 then "You have pushed the button $_counter time" else "You have pushed the button $_counter times"</p>
  
  <pre><code>children: &lt;Widget&gt;[
  
          new Text(
            'You have pushed the button $_counter times:',
          )/*,
          new Text(
            '$_counter',
            style: Theme.of(context).textTheme.display1,
          ),*/
  ]
  </code></pre>
  
  <p>P.S. its just a simple example for me to understand how to use if condition in flutter.</p>