title: How to disable checkbox flutter
body: <p>I am using Checkbox inside a ListTile like the following:</p>
  
  <pre><code> ListTile(
    leading: Checkbox(
    value: _isChecked,
      onChanged: (v) {
        setState(() {
            _isChecked = !_isChecked;
        });
      },
    ),
    title: Text("is Bathroom"),
  );
  </code></pre>
  
  <p>How can I disable the checkbox. I know that the Checkbox widget is stateless. But is there any other Widget provided in material subpackage that can do this. Something like InputDecorator.</p>
  
  <p>Also I have same question with DropdownButton. I am using it as following to choose an item in a form from a dropdown list.</p>
  
  <pre><code>             InputDecorator(
                  decoration: InputDecoration(
                    labelText: "Type",
                    hintText: "Choose the type",
                  ),
                  isEmpty: _type == null,
                  child: DropdownButton&lt;int&gt;(
                    value: _type,
                    isDense: true,
                    onChanged: (value) {
                      setState(() {
                        _type = value;
                      });
                    },
                    items: _buildDropdownItemList(),
                  ),
                );
  </code></pre>
  
  <p>I tried the enable argument in InputDecoration but that just changes the decoration. User can still change the selection.</p>