onClick property

void Function()? onClick
getter/setter pair

Implementation

void Function()? onClick;