interval property

Duration? interval
final

Indicated how often the onDirectionChanged should be called.

Defaults to null; no lower limit (null check) Setting it to ie. 1 second will cause the callback to not be called more oftern than once per second.

Exception is the onDirectionChanged callback being called on the onPanStart and onPanEnd callbacks. It will be called immediately.

Implementation

final Duration? interval;