title: Set the icon for switch button in Flutter
body: <p>I wanted to set the &quot;done&quot; icon for switch when it is on, and &quot;close&quot; icon when it is off.</p>
  <p>Here is a sample image:</p>
  <p><img src="https://i.stack.imgur.com/oZ4pp.png" alt="enter image description here" /></p>
  <p>I am looking for same toggle switch as shown in the image, in that rounded I need tick mark on when I slide it ON, cross mark when I slide it OFF.</p>
  <p>How can I do this?</p>