title: I am not able to check/uncheck the checkbox(flutter)
body: <p>This is the minimum code
  I am not able to check/uncheck the checkbox. What to do??</p>
  <pre><code>         Row(
             children:&lt;Widget&gt;[
             Text(&quot;English&quot;),
             Checkbox(
              checkColor: Theme.of(context).primaryColor,
              value:false,
              onChanged: (bool value) {
                setState(() {
                  if(value==true) {
                    lang.languages = &quot;English&quot;;
                    print(value);
                  }
                });
              },
            )])
  </code></pre>