• Todd Volkert's avatar
    Add SerialTapGestureRecognizer (#83082) · 6490a4e9
    Todd Volkert authored
    This gesture recognizer can be used to recognize the classic
    "onclick" behavior, where each tap in a series fires an event
    with an incrementing "count" of how many taps have occurred
    in series. This can in turn be used to build widgets that respond
    to both tap and double-tap, or for widgets like the YouTube TV
    player, where each subsequent tap in a series of >2 taps adjusts
    the playhead another 15 seconds.
    
    Fixes https://github.com/flutter/flutter/issues/81657
    6490a4e9
serial_tap_test.dart 13.5 KB