So I have a widget and it has two states. So in state one, it has one button & when ever I click that only button, it hides the first optional button and sets the visibility of other different buttons to true. Now, on the widgets second state, this is where I would want to make it possible to hide all buttons from second state and go back to the widget’s first state. Now I want to make it possible to hide all buttons from second state and return to first state by just pressing one input key?
Any help would be very much appreciated, Thanks.