• Tong Mu's avatar
    Redo: Modal dismissed by any button (#36956) · 24f483cf
    Tong Mu authored
    This PR makes ModalBarrier dismiss modal with any button press instead of primary button up, by making it use a private recognizer _AnyTapGestureRecognizer that is similar to TapGestureRecognizer but accepts gestures by any single button.
    24f483cf
modal_barrier_test.dart 10.7 KB