resamplingEnabled property Null safety

bool resamplingEnabled
read / write

Enable pointer event resampling for touch devices by setting this to true.

Resampling results in smoother touch event processing at the cost of some added latency. Devices with low frequency sensors or when the frequency is not a multiple of the display frequency (e.g., 120Hz input and 90Hz display) benefit from this.

This is typically set during application initialization but can be adjusted dynamically in case the application only wants resampling for some period of time.


bool resamplingEnabled = false