onSelection property

void Function({required Piece type}) onSelection
final

Implementation

final void Function({required Piece type}) onSelection;