Implement a button that toggles between two states when the user clicks on it.

When the user clicks on it, its value should toggle between 0 and 1. When it is 0, the widget is white. When the value is 1, the widget should be green.

When the user clicks on the toggle-widget, it should fire an input event.

The toggle buttons!

toggle-button values: