canAcceptDrop property

bool Function({int? index, required TKey movingKey, TKey? newParent})? canAcceptDrop
final

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;