toggleable
Make this drawable toggleable, meaning that, when clicked:
it will change its palette to the brand foreground color if it is toggled on, and to the component background color if it is toggled off.
it will emit a Event.Change.State event. you can use the onToggle function to easily listen to this event.
Since
1.5.0