• Adam Barth's avatar
    Remove PointerRouter and GestureArena arguments · 4b1a9ff1
    Adam Barth authored
    There's no reason to make clients supply a PointerRounter and a
    GestureArena when constructing gesture recognizers. These objects are
    statics and the gesture recognizers can just grab them directly.
    
    Also, remove the callback constructor arguments. Almost no code used
    them. Instead, people seem to prefer using the `..` operator to set
    callbacks on the recognizers. Removing the arguments removes a bunch of
    boilerplate.
    4b1a9ff1
gesture_tester.dart 451 Bytes