widgetWithDragHandle function

Widget widgetWithDragHandle({
  1. Widget? child,
})

Implementation

Widget widgetWithDragHandle({Widget? child}) {
  return Stack(
    alignment: Alignment.topCenter,
    fit: StackFit.loose,
    children: [
      child!,
      SizedBox(
        height: 18,
        child: const Center(child: const DragHandle()),
      ),
    ],
  );
}