OnClick typedef Null safety

OnClick = void Function()

点击

Implementation

typedef OnClick = void Function();