Remove deprecated VelocityTracker constructor (#98541)

This commit is contained in:
Kate Lovett 2022-02-18 15:49:17 -06:00 committed by GitHub
parent 4add01ab68
commit f9921ebcda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,12 +144,6 @@ class _PointAtTime {
/// The quality of the velocity estimation will be better if more data points
/// have been received.
class VelocityTracker {
/// Create a new velocity tracker for a pointer [kind].
@Deprecated(
'Use VelocityTracker.withKind and provide the PointerDeviceKind associated with the gesture being tracked. '
'This feature was deprecated after v1.22.0-12.1.pre.',
)
VelocityTracker([this.kind = PointerDeviceKind.touch]);
/// Create a new velocity tracker for a pointer [kind].
VelocityTracker.withKind(this.kind);