onMoveComplete property

void Function({required ShortMove move, required String newFen})? onMoveComplete
final

Handler for when a move is successfully made (for history tracking)

Implementation

final void Function({required ShortMove move, required String newFen})?
    onMoveComplete;