HighlightedDragTarget<T extends GroupBase> constructor

const HighlightedDragTarget<T extends GroupBase>({
  1. required Widget child,
  2. required Parent<T>? parent,
  3. required DragTargetWillAccept<Parent<T>> onWillAccept,
  4. Key? key,
  5. dynamic onAccept(
    1. Parent<T> source,
    2. T? destination
    )?,
  6. Border? initialBorder,
  7. Border? highlightedBorder,
})

Implementation

const HighlightedDragTarget({
  required this.child,
  required this.parent,
  required this.onWillAccept,
  Key? key,
  this.onAccept,
  this.initialBorder,
  this.highlightedBorder,
}) : super(key: key);