Skip to content

Commit 68bd9c0

Browse files
authored
Add more references to LongPressDraggable (flutter#74835)
1 parent 15703fb commit 68bd9c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/flutter/lib/src/widgets/drag_target.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,11 @@ class Draggable<T extends Object> extends StatefulWidget {
371371
}
372372

373373
/// Makes its child draggable starting from long press.
374+
///
375+
/// See also:
376+
///
377+
/// * [Draggable], similar to the [LongPressDraggable] widget but happens immediately.
378+
/// * [DragTarget], a widget that receives data when a [Draggable] widget is dropped.
374379
class LongPressDraggable<T extends Object> extends Draggable<T> {
375380
/// Creates a widget that can be dragged starting from long press.
376381
///

0 commit comments

Comments
 (0)