upState property Null safety

DisplayObject? upState
read / write

Specifies a display object that is used as the visual object for the button up state — the state that the button is in when the pointer is not positioned over the button.

Implementation

DisplayObject? upState;