onTap property

VoidCallback? onTap
final

Called when the piece is tapped.

Implementation

final VoidCallback? onTap;