builder property

Widget Function(BuildContext context, GestureDragUpdateCallback onPanUpdate, GestureDragEndCallback onPanEnd) builder
final

Builds the content; attach onPanUpdate and onPanEnd only where a drag should start, e.g. a header, so the rest can still scroll and tap.

Implementation

final Widget Function(
  BuildContext context,
  GestureDragUpdateCallback onPanUpdate,
  GestureDragEndCallback onPanEnd,
)
builder;