'does it possible in flutter to reverse the arena detection
for example if user want to swipe left in specific area but the real detect action went to other area , i have image here

in other word : user swipe left to container 2 in real finger , but flutter consider Container 1 is the one area which the finger swipe through ..
is it possible ?
Column(
children[
Container( // real detection
heigh:200,
child: Text('Container1')
),
GestureDetector(
onHorizontalDragUpdate: (details) {
int sensitivity = 8;
if(details.delta.dx < -sensitivity){
// Left Swipe
}
}
child :Container(//real finger swipe
heigh:200,
child: Text('Container2')
)
]
)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
