I need to measure how much force does the user put on the screen (pressure when touch).
in GestureDetector
‘s ForcePress
callbacks provide a details (ForcePressDetails
) object which contains pressure value, but it’s always returns 1 when user press. the doc says it return either 0 or 1.
GestureDetector(
onForcePressStart: (details){
print(details.pressure);// always print 1
},
)
So, this’s not an actual pressure measurement, is there any workaround ideas!
2