onTap property

(void Function(String)?) onTap
final

Called when the piece is tapped.

Implementation

final void Function(String)? onTap;