onClick property Null safety

OnClick? onClick
read / write

Implementation

OnClick? onClick;