validateDrag property

(bool Function(PartialMove, int)?) validateDrag
final

Called when a piece moves over a new square. This includes external pieces, such as those that came from hands.

Implementation

final bool Function(PartialMove, int)? validateDrag;