• 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
..
arena_test.dart Loading commit data...
debug_test.dart Loading commit data...
double_tap_test.dart Loading commit data...
drag_test.dart Loading commit data...
events_test.dart Loading commit data...
force_press_test.dart Loading commit data...
gesture_binding_resample_event_on_widget_test.dart Loading commit data...
gesture_binding_test.dart Loading commit data...
gesture_tester.dart Loading commit data...
hit_test_test.dart Loading commit data...
locking_test.dart Loading commit data...
long_press_test.dart Loading commit data...
lsq_solver_test.dart Loading commit data...
multidrag_test.dart Loading commit data...
multitap_test.dart Loading commit data...
pointer_router_test.dart Loading commit data...
pointer_signal_resolver_test.dart Loading commit data...
recognizer_test.dart Loading commit data...
resampler_test.dart Loading commit data...
scale_test.dart Loading commit data...
tap_test.dart Loading commit data...
team_test.dart Loading commit data...
transformed_double_tap.dart Loading commit data...
transformed_long_press_test.dart Loading commit data...
transformed_monodrag_test.dart Loading commit data...
transformed_scale_test.dart Loading commit data...
transformed_tap_test.dart Loading commit data...
velocity_tracker_data.dart Loading commit data...
velocity_tracker_test.dart Loading commit data...