• Bernardo Ferrari's avatar
    Add `allowedButtonsFilter` to prevent Draggable from appearing with secondary click. (#111852) · 0752af84
    Bernardo Ferrari authored
    * DragTarget part 1.
    
    [WIP] Change GestureRecognizer. Sorry.
    
    [WIP] Move from GestureRecognizer to MultiDragGestureRecognizer.
    
    Make it a `Set<int>?`
    
    Get bitwise operations working.
    
    Fix test. Rename to allowedInputPointers.
    
    Convert into a builder.
    
    Improve code with default funciton.
    
    Refactor everything again.
    
    Rename to buttonEventFilter.
    
    Use static function.
    
    Fix analyzer.
    
    Fix private reference.
    
    Use // in private method.
    
    * Fix Renzo request.
    
    * Add `allowedButtonsFilter` everywhere.
    
    * Refactor monoDrag for multi pointer support.
    
    * Fix tests?
    
    * Change default to always true.
    
    * Fix PR comments.
    
    * Completely refactor long press.
    
    * Add forgotten class.
    
    * Revert "Completely refactor long press."
    
    This reverts commit 5038e8603e250e8c928b0f1754fb794b7b75738b.
    
    * Add default value to LongPress
    
    * Refactor doubleTap.
    
    * Relax double tap.
    
    * Write comment in LongPress.
    
    * Use template.
    0752af84
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_resample_event_test.dart Loading commit data...
gesture_binding_test.dart Loading commit data...
gesture_config_regression_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...
monodrag_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...
serial_tap_test.dart Loading commit data...
tap_test.dart Loading commit data...
team_test.dart Loading commit data...
transformed_double_tap_test.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...