build method

Widget build(
  1. BuildContext context,
  2. double dragOffset,
  3. double dragExtent
)

Implementation

Widget build(
  BuildContext context,
  double dragOffset,
  double dragExtent,
) {
  return builder?.call(
        context,
        dragOffset,
        dragExtent,
        child,
      ) ??
      child ??
      const SizedBox.shrink();
}