• Jonah Williams's avatar
    Deprecate VelocityTracker default constructor and added... · b1d17c91
    Jonah Williams authored
    Deprecate VelocityTracker default constructor and added VelocityTracker.withKind constructor (#66043)
    
    We've gotten feedback that the VelocityTracker change was disruptive, though it did not break any of the flutter framework or customer tests. In order to make the change non-breaking, PointerDeviceKind parameter can be made optional.
    
    Nevertheless, this parameter should be provided so that the existing touch handlers can use more accurate gestures on mouse/stylus inputs, so we can encourage this by deprecating the default constructor and pointing users towards the VelocityTracker.withKind constructor that takes a non-optional parameter
    b1d17c91
Name
Last commit
Last update
..
automated_tests Loading commit data...
benchmarks Loading commit data...
bots Loading commit data...
ci Loading commit data...
customer_testing Loading commit data...
devicelab Loading commit data...
docs Loading commit data...
integration_tests Loading commit data...
manual_tests Loading commit data...
missing_dependency_tests Loading commit data...
snippets Loading commit data...
tools Loading commit data...
tracing_tests Loading commit data...
README.md Loading commit data...
prod_builders.json Loading commit data...
try_builders.json Loading commit data...