title: How to check if a button is currently active in flutter?
body: <p>How can I check if a button is currently active in flutter? Below is the image for the button I am trying to create:</p>
  
  <p>[<img src="https://i.stack.imgur.com/FktSt.png" alt="Below is the image for the button I am trying to create:">]</p>