- 16 Nov, 2021 1 commit
-
-
Justin McCandless authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 04 Oct, 2021 1 commit
-
-
Greg Spencer authored
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder. I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed. I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
-
- 25 Aug, 2021 1 commit
-
-
Greg Spencer authored
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
-
- 23 Aug, 2021 1 commit
-
-
Iman khoshabi authored
-
- 13 Aug, 2021 1 commit
-
-
Justin McCandless authored
Corrects the exact definition in code and docs of ScaleUpDetails delta.
-
- 09 Aug, 2021 1 commit
-
-
Jonah Williams authored
-
- 04 Aug, 2021 1 commit
-
-
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
-
- 19 Jul, 2021 1 commit
-
-
Callum Moffat authored
Some embeddings might send pointer events with buttons = 0x2 (right-click) for touch or stylus device kinds. If the primary button is synthesized for those events, they won't behave properly. Without this change it's not possible to trigger "secondary tap" events on a TapGestureRecognizer while using a stylus or on an iPad trackpad, since that recognizer will receive buttons = 0x3.
-
- 15 Jul, 2021 1 commit
-
- 14 Jul, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 31de052e.
-
Ian Hickson authored
-
- 13 Jul, 2021 2 commits
-
-
Ian Hickson authored
This reverts commit e2490f29.
-
Ian Hickson authored
-
- 08 Jul, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 Jun, 2021 1 commit
-
-
Justin McCandless authored
-
- 28 Jun, 2021 1 commit
-
-
Janice Collins authored
-
- 12 Jun, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 10 Jun, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 09 Jun, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Jun, 2021 1 commit
-
-
Anis Alibegić authored
-
- 01 Jun, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 19 May, 2021 3 commits
-
-
Todd Volkert authored
This is a re-application of https://github.com/flutter/flutter/pull/81884, but with https://github.com/flutter/flutter/pull/82834 landed first. Fixes https://github.com/flutter/flutter/issues/81883
-
Tong Mu authored
-
Todd Volkert authored
They should have been taking a PointerDownEvent. This change was originally included in #81884, but that had to be reverted because it broke Google testss. This sub-part of that larger change needs to be made first in order to allow for a phased rollout in a way that won't break Google tests. https://github.com/flutter/flutter/issues/81883
-
- 18 May, 2021 1 commit
-
-
Todd Volkert authored
This reverts commit e88a387b.
-
- 17 May, 2021 1 commit
-
-
Todd Volkert authored
* Gesture recognizer cleanup 1) Make OneSequenceGestureRecognizer.addAllowedPointer() call startTrackingPointer(), and change subclasses to call super.addAllowedPointer() in place of manually calling startTrackingPointer(). 2) Fix addAllowedPointer overrides to take PointerDownEvent where some were taking PointerEvent. 3) Add API documentation to OneSequenceGestureRecognizer 4) Make the following fields in OneSequenceGestureRecognizer private with public getters instead of publicly writable: `state`, `primaryPointer`, and `initialPosition`. 5) Clean up gesture recognizer state in OneSequenceGestureRecognizer.didStopTrackingLastPointer. Fixes #81883
-
- 14 May, 2021 1 commit
-
-
xubaolin authored
-
- 10 May, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 07 May, 2021 1 commit
-
-
Kate Lovett authored
-
- 04 May, 2021 1 commit
-
-
Todd Volkert authored
-
- 03 May, 2021 1 commit
-
-
Jonah Williams authored
-
- 28 Apr, 2021 4 commits
-
-
Todd Volkert authored
This adds support for GestureDetector.onLongPressDown and GestureDetector.onLongPressCancel, allowing callers to register interest in the initial pointer contact that might turn into a long-press (and the associated cancel event if the gesture loses).
-
Todd Volkert authored
It was incorrectly resetting state when it received a non-allowed pointer but had already accepted a gesture. https://github.com/flutter/flutter/issues/81339
-
leo authored
* fix PointerUpEvent conversion PointerMoveEvent needs to use the default buttons value.(#73286) * feat PointerMoveEvent conversion adds test cases * fix event conversion may modify the original buttons value. * Update packages/flutter/lib/src/gestures/resampler.dart Co-authored-by:
David Reveman <dreveman@gmail.com>
-
Todd Volkert authored
-
- 27 Apr, 2021 1 commit
-
-
Michael Goderbauer authored
-