model

Stores the button's state and notifies listeners when it changes.