• Hixie's avatar
    Make Draggable use gestures · 255ed0b9
    Hixie authored
    Draggable is now itself a gesture arena member. This means it won't
    conflict with other gesture recognisers in the same path.
    
    This also allows variants of Draggable that are triggered by other
    gestures.
    
    Also, some cleanup of DoubleTapGestureRecognizer, GestureDetector, and
    PrimaryPointerGestureRecognizer.
    
    Also, make MultiTapGestureRecognizer support a timeout for longpress.
    
    Also, make Draggable data be typed.
    
    Also, hide warnings about constructor warnings for now. Analyzer doesn't
    support them yet. (Have to do this on a per-line basis)
    
    Directions for future research:
     - animating the avatar (enter/exit transitions)
     - interaction with the navigator (canceling a drag on page navigation, etc)
     - double-tap draggable
    255ed0b9
drag_and_drop.dart 4.54 KB