vertical method
Implementation
GestureDetector vertical() {
return GestureDetector(
onVerticalDragUpdate: (details) {
localeController.jumpTo(localeController.offset - details.delta.dy);
},
child: SingleChildScrollView(
controller: controller ?? localeController,
clipBehavior: clipBehavior,
padding: padding,
physics: physics,
primary: primary,
restorationId: restorationId,
scrollDirection: Axis.vertical,
child: Column(
children: [
const SizedBox(height: 10),
child,
const SizedBox(height: 10),
],
),
),
);
}