title: How can I disabled flutter switch
body: <p>In my help screen, I have this switch and the purpose for that is to do nothing but just display like the way it is.</p>
  <p>But the problem I'm having right now, even though it doesn't do anything, the user can drag the switch so I'm trying to figure out how I can disabled it so that no one can drag the switch button.</p>
  <pre><code>    return Container(
        child: Card(
          color: Theme.of(context).primaryColor,
          margin: EdgeInsets.only(bottom: 30, top: 10),
          child: ListTile(
            title: Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: &lt;Widget&gt;[
                Text(&quot;Dark Theme&quot;,
                    style: TextStyle(color: Theme.of(context).accentColor)),
                Switch(
                    value: true,
                    onChanged: (value) {},
                    activeColor: Theme.of(context).accentColor),
                Text(&quot;Light Theme&quot;, style: TextStyle())
              ],
            ),
          ),
        ),
      );
    }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/WIT7H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WIT7H.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/IRMFk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IRMFk.png" alt="enter image description here" /></a></p>