Hixie
d162d98c79
Enable always_specify_types lint
...
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00
Adam Barth
1484add104
Add TestGesture
...
This helper makes it easier to write correct tests that involve
gestures.
Fixes #1855
2016-02-21 14:32:58 -08:00
Hixie
19a2f5ef74
Horizontal and Vertical Draggables
2016-02-12 17:16:39 -08:00
Hixie
6b487e4ecc
Refactor MultiDragPointerState to support delays
...
...even after winning the arena.
2016-02-11 16:48:17 -08:00
Hixie
8e279f320e
Provide a Draggable that starts on drag
...
This lets it cooperate with other gestures like tap.
The way I implemented this was to refactor the entire Draggable gesture
logic to use a new kind of gesture detector called
MultiDragGestureRecognizer. It works a bit like
MultiTapGestureRecognizer but for drags.
Also some tweaks to the velocity estimator.
2016-02-11 12:54:10 -08:00
Hixie
4d5e40675b
Tapping through drag targets.
...
Factor out the HitTestBehavior logic so that RenderMetaData can use it.
Use that in DragTarget.
2016-02-09 17:03:46 -08:00
Adam Barth
056766414c
Use a named argument for Widget children
...
Previously we used a positional argument for widgets that had multiple
children. Now we use a named argument that defaults to an empty list.
Fixes #241
2016-01-11 13:17:09 -08:00
Ian Hickson
7151fdd054
Move flutter tests from packages/unit to packages/flutter/test
2015-12-16 08:00:57 -08:00