mirror of
https://github.com/flutter/flutter.git
synced 2026-02-14 23:02:04 +08:00
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
Small examples of the Flutter widget framework ============================================== To run these, open a terminal in this directory and use the following command: ```bash pub global activate flutter flutter start --checked -t foo.dart ``` ...where `foo.dart` is the file you want to run.