mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove deprecated VelocityTracker constructor (#98541)
This commit is contained in:
parent
4add01ab68
commit
f9921ebcda
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user