state property Null safety

SimpleButtonState state

The current state of the button (Up, Over, Down).

This state is changing automatically if the mouse (or touch point) is over the button or the button is pressed.

Implementation

SimpleButtonState get state => _state;