Skip to content

Commit

Permalink
chore: merge refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
squidrye committed Oct 27, 2023
1 parent 14176ed commit 2524c8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class CombinedDraggableItem<T extends Object> extends StatefulWidget {
this.onWillAccept,
this.onMove,
this.onLeave,
this.onDragging,
this.dragAnchorStrategy,
this.enableAutoScroll = true,
this.hitTestSize = const Size(100, 100),
Expand All @@ -24,6 +25,7 @@ class CombinedDraggableItem<T extends Object> extends StatefulWidget {
final Widget? feedback;
final Widget? childWhenDragging;

final void Function(bool)? onDragging;
final DragTargetAccept<T>? onAccept;
final DragTargetWillAccept<T>? onWillAccept;
final DragTargetMove<T>? onMove;
Expand Down Expand Up @@ -56,6 +58,7 @@ class _CombinedDraggableItemState<T extends Object>
onMove: widget.onMove,
onLeave: widget.onLeave,
child: DraggableItem(
onDragging: widget.onDragging,
data: widget.data,
childWhenDragging: widget.childWhenDragging,
dragAnchorStrategy: widget.dragAnchorStrategy,
Expand Down

0 comments on commit 2524c8b

Please sign in to comment.