1. 02 Feb, 2018 1 commit
  2. 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
  3. 21 Dec, 2017 1 commit
  4. 22 Nov, 2017 1 commit
  5. 17 Aug, 2017 1 commit
  6. 05 Jun, 2017 1 commit
  7. 02 Jun, 2017 1 commit
  8. 21 Apr, 2017 1 commit
  9. 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
  10. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  11. 31 Mar, 2017 1 commit
  12. 29 Mar, 2017 1 commit
  13. 08 Mar, 2017 1 commit
  14. 04 Mar, 2017 1 commit
  15. 23 Jan, 2017 1 commit
  16. 22 Jan, 2017 1 commit
  17. 05 Jan, 2017 1 commit
  18. 09 Dec, 2016 1 commit
  19. 19 Nov, 2016 1 commit
  20. 03 Nov, 2016 1 commit
  21. 16 Oct, 2016 2 commits
  22. 15 Oct, 2016 1 commit
  23. 30 Sep, 2016 1 commit
  24. 22 Sep, 2016 1 commit
  25. 20 Jun, 2016 1 commit
    • Adam Barth's avatar
      Fix asserts in Draggable dismounting (#4644) · b3780ebc
      Adam Barth authored
      In writing a test for #1927, I found a number of bugs in how Draggable shuts
      down. Previously it would leak its recongizer. Now it disposes its recognizer
      and the recognizer knows how to be disposed cleanly.
      
      Fixes #1927
      b3780ebc
  26. 07 Jun, 2016 1 commit
  27. 06 Jun, 2016 1 commit
  28. 30 May, 2016 1 commit
  29. 03 May, 2016 1 commit
  30. 29 Apr, 2016 1 commit
  31. 22 Apr, 2016 1 commit
  32. 21 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Make the widgets binding reusable. (#3479) · 0e11b0e6
      Ian Hickson authored
      Previously the widgets layer only provided a concrete binding, which
      makes it awkward to extend it compared to other bindings. This moves
      widgets to the same style as the other layers.
      
      In a subsequent patch I'll use this to make the tests layer saner.
      0e11b0e6
  33. 01 Apr, 2016 1 commit
  34. 29 Mar, 2016 1 commit
  35. 25 Mar, 2016 1 commit
  36. 18 Mar, 2016 1 commit
  37. 14 Mar, 2016 2 commits
  38. 12 Mar, 2016 1 commit