=>

true

});

render

()

return

View

style

styles

container

{...

this

_panResponder

panHandlers

View

style

styles

center

Text

Swipe

Horizontally

or

Vertically

/Text

/View

/View

);

In Flutter, to add a click (or press) listener to a widget,
use a button or a touchable widget that has an onPress: field.
Or, add gesture detection to any widget by wrapping it
in a GestureDetector.