Called when the button is pressed. If you need to know the button's pressed state (and toggleMode is active), use _toggled instead.
See Implementation
Called when the button is pressed. If you need to know the button's pressed state (and toggleMode is active), use _toggled instead.