1. 16 Nov, 2021 1 commit
  2. 08 Oct, 2021 3 commits
  3. 04 Oct, 2021 1 commit
    • Greg Spencer's avatar
      Clean up examples, remove section markers and --template args (#91133) · fd9ce277
      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.
      fd9ce277
  4. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      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.
      33403bd2
  5. 23 Aug, 2021 1 commit
  6. 13 Aug, 2021 1 commit
  7. 09 Aug, 2021 1 commit
  8. 04 Aug, 2021 1 commit
    • Todd Volkert's avatar
      Add SerialTapGestureRecognizer (#83082) · 6490a4e9
      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
      6490a4e9
  9. 19 Jul, 2021 1 commit
    • Callum Moffat's avatar
      Don't synthesize primary pointer button unless buttons = 0 (#85808) · 6909c544
      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.
      6909c544
  10. 15 Jul, 2021 1 commit
  11. 14 Jul, 2021 3 commits
  12. 13 Jul, 2021 2 commits
  13. 08 Jul, 2021 1 commit
  14. 30 Jun, 2021 1 commit
  15. 28 Jun, 2021 1 commit
  16. 12 Jun, 2021 1 commit
  17. 10 Jun, 2021 1 commit
  18. 09 Jun, 2021 1 commit
  19. 02 Jun, 2021 1 commit
  20. 01 Jun, 2021 1 commit
  21. 19 May, 2021 3 commits
  22. 18 May, 2021 1 commit
  23. 17 May, 2021 1 commit
    • Todd Volkert's avatar
      Gesture recognizer cleanup (#81884) · e88a387b
      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
      e88a387b
  24. 14 May, 2021 1 commit
  25. 10 May, 2021 1 commit
  26. 07 May, 2021 1 commit
  27. 04 May, 2021 1 commit
  28. 03 May, 2021 1 commit
  29. 28 Apr, 2021 4 commits
  30. 27 Apr, 2021 1 commit