onTouch method
Returns a new GestureDetector widget with the given onTouch callback.
Implementation
GestureDetector onTouch(void Function(TapDownDetails tapDetails)? onTouch) {
return GestureDetector(onTapDown: onTouch, child: this);
}
Returns a new GestureDetector widget with the given onTouch callback.
GestureDetector onTouch(void Function(TapDownDetails tapDetails)? onTouch) {
return GestureDetector(onTapDown: onTouch, child: this);
}