1. 07 Mar, 2019 1 commit
  2. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  3. 21 Feb, 2019 1 commit
  4. 09 Jan, 2019 1 commit
  5. 08 Jan, 2019 1 commit
  6. 07 Jan, 2019 1 commit
  7. 19 Nov, 2018 1 commit
  8. 15 Nov, 2018 1 commit
    • Diego Tori's avatar
      Added support for passing in velocity and offset into Draggable.onDragCompleted (#22267) · 9447be73
      Diego Tori authored
      * Added support for passing in velocity and offset into Draggable.onDragCompleted.
      
      * Fixed documentation of DragCompletedCallback.
      
      * Spun off previous onDragCompleted breaking changes into new callback called Draggable.onDragEnd.
      
      * Revert "Fixed documentation of DragCompletedCallback."
      
      This reverts commit 069051f5be0d4ec6a1f4b3f072e535ca87e5d740.
      
      * Revert "Added support for passing in velocity and offset into Draggable.onDragCompleted."
      
      This reverts commit 7ef744aa5645429b7bc92527226203ee8bff68ec.
      
      * DraggableDetails constructor is now declared first as per Flutter code style.
      
      * Draggable.onDragEnd will only call back if its widget is currently mounted to the tree.
      
      * Moved "});" in DraggableDetails constructor to new line, vertically aligned with the constructor name, as per Flutter code style.
      
      * Added space between if statement in drag_target.dart.
      
      * widget.onDragEnd call is now formated as per flutter code style.
      
      * Added more details to DraggableDetails documentation.
      
      * Added brackets to if statement block as per Flutter code style.
      
      * Fixed minor nits in DraggableDetails documentation.
      
      * Made DraggableDetails constructor public. Also added documentation for its constructor.
      9447be73
  9. 16 Oct, 2018 1 commit
  10. 09 Oct, 2018 1 commit
  11. 12 Sep, 2018 1 commit
  12. 02 Aug, 2018 1 commit
  13. 27 Jul, 2018 1 commit
  14. 23 Jul, 2018 1 commit
  15. 20 Jul, 2018 2 commits
  16. 16 Jul, 2018 2 commits
  17. 10 Jul, 2018 1 commit
  18. 05 Jun, 2018 1 commit
  19. 15 May, 2018 1 commit
  20. 30 Jan, 2018 1 commit
    • Tom Larsen's avatar
      Add onLeave callback to DragTarget (#14103) · b7f6be6f
      Tom Larsen authored
      * Add a callback that fires when a Draggable leaves a DragTarget.  This enables the DragTarget to manage its state from entry to exit.
      
      * It helps to have a null check here
      
      * Add test for onLeave callback and add verbiage to onWillAccept explaining the callback lifecycle of a DragTarget.
      b7f6be6f
  21. 11 Jan, 2018 1 commit
  22. 22 Nov, 2017 1 commit
  23. 08 Sep, 2017 1 commit
  24. 05 Jun, 2017 1 commit
  25. 27 Apr, 2017 1 commit
  26. 21 Apr, 2017 1 commit
  27. 12 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
  28. 07 Apr, 2017 1 commit
  29. 15 Mar, 2017 1 commit
  30. 04 Mar, 2017 1 commit
  31. 04 Feb, 2017 1 commit
  32. 25 Jan, 2017 1 commit
    • Adam Barth's avatar
      Add a sliver-based ScrollView (#7627) · eba5fb1a
      Adam Barth authored
      This patch introduces ScrollView, which is a convenience widget for using a
      SliverBlock. This patch also switches a number of tests from Block to
      ScrollView. Once we support more features of block (e.g., padding and
      shrinkwrapping), we'll be able to move over more clients.
      eba5fb1a
  33. 09 Dec, 2016 2 commits
  34. 07 Nov, 2016 1 commit
  35. 17 Oct, 2016 1 commit
    • Adam Barth's avatar
      Tap above LongPressDraggable should work (#6348) · 61240fe8
      Adam Barth authored
      Previously, we were nulling out the ArenaEntry in MultiDragPointerState
      too early, which was prevent MultiDragPointerState from rejecting the
      gesture in `dispose` if we hadn't accepted by the time the pointer went
      up. Now we properly reject the gesture, which causes the tap gesture to
      win during `sweep` in the arena.
      
      Also, add a bunch of docs and annotations based on information I learned
      while studying this issue. Finally, rename a private member of tap
      recognizer to a name that would have confused me less in my
      investigation.
      
      Fixes #1186
      61240fe8
  36. 16 Oct, 2016 2 commits