onClick property
dynamic Function()?
onClick
final
The function to call when the view is clicked.
Implementation
final Function()? onClick;
The function to call when the view is clicked.
final Function()? onClick;