canAcceptDrop property
If set, rejected drop targets are filtered out. Receives the dragged key, the candidate new parent, and the final-list index.
Implementation
final bool Function({
required TKey movingKey,
TKey? newParent,
int? index,
})? canAcceptDrop;