title: Dart checkbox, force check
body: <p>I'd like to ask if there is any method for forcing CheckBox to check. I've tried to use <code>Click();</code>, but without success. I was searching for something like <code>.setChecked(true);</code> but again no success. Is it because I'm using checkbox as InputElement?</p>
  
  <pre><code>void main() {
      InputElement ac = querySelector('#ac');  //Checkbox id="ac"
      Storage localStorage = window.localStorage; 
      String sAc = localStorage['ac'];
      if (sAc == '1') {
          ac.Click();
      }
  
      ac.onClick.listen((Event e){
          String status;
          if (ac.checked){
              status = '1';
          }
          else
          {
              status = '0';
          }
          localStorage['ac'] = status;
      });   
  }
  </code></pre>