validateDrag property
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;
Called when a piece moves over a new square. This includes external pieces, such as those that came from hands.
final bool Function(PartialMove, int)? validateDrag;