1. 25 Jan, 2018 1 commit
  2. 21 Dec, 2017 1 commit
  3. 22 Nov, 2017 1 commit
    • Ian Hickson's avatar
      Popup menus RTL (#13110) · 34ba6be9
      Ian Hickson authored
      This fixes the popup menu code to do a better job of expanding
      smoothly regardless of which side of the screen it's on. It still
      results in a bidirection growth when positioned at the bottom of the
      screen, so maybe we'll need to animate menus differently, but that's
      a problem for another patch.
      
      Also, improve some docs and provide RelativeRect.toSize which I needed
      at one point while building this patch (though it didn't survive all
      the way to the end).
      34ba6be9
  4. 09 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Add an UnconstrainedBox and factor out debug overflow indicator. (#12856) · 3541ad0a
      Greg Spencer authored
      UnconstrainedBox will allow its child to size itself as if it had no constraints, and then attempt to fit around that object, until its own constraints are exceeded, in which case it will clip and display an overflow warning.
      
      I also factored out DebugOverflowIndicator, which will draw overflow indicators on containers which overflow but aren't expected to.
      3541ad0a
  5. 01 Nov, 2017 1 commit
    • Ian Hickson's avatar
      Text Painting Fuzzer (#12813) · 8fd20b5d
      Ian Hickson authored
      Various improvements (in particular a new painting fuzzer) to the text manual test.
      
      Some additional documentation.
      
      A fix to Stack to remove an LTR bias: make unpositioned children apply "alignment".
      
      Some more debugging information on RichText and Text.
      
      A fix to the flutter tool to not crash when an RPC call throws an exception.
      8fd20b5d
  6. 22 Oct, 2017 1 commit
  7. 02 Oct, 2017 1 commit
    • Adam Barth's avatar
      Add Alignment, which will replace FractionalOffset (#12342) · 2b126bcd
      Adam Barth authored
      Unlike FractionalOffset, Alignment uses the center as the zero of the
      coordinate system, which makes the RTL math work out much cleaner.
      
      Also, make FractionalOffset into a subclass of Alignment so that clients
      can continue to use FractionalOffset.
      2b126bcd
  8. 24 Sep, 2017 1 commit
  9. 23 Sep, 2017 1 commit
  10. 08 Sep, 2017 1 commit
  11. 03 Aug, 2017 1 commit
  12. 25 Jul, 2017 1 commit
  13. 11 Jul, 2017 1 commit
  14. 05 Jun, 2017 1 commit
  15. 02 Jun, 2017 1 commit
    • Ian Hickson's avatar
      Sprinkle some mixin magic incantations (#10442) · 9eae8b83
      Ian Hickson authored
      This prevents some of our mixins from being subclassed.
      
      Also, move mixins to using 'extends' instead of 'implements' for
      future compatibility with Dart changes.
      
      Also, rename a class that had Mixin in the name but was not a mixin.
      9eae8b83
  16. 12 May, 2017 1 commit
  17. 10 May, 2017 1 commit
  18. 05 May, 2017 1 commit
  19. 26 Apr, 2017 1 commit
  20. 25 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Loosen the constraints for Stack non-positioned children. (#9581) · 596eb033
      Ian Hickson authored
      Also:
      
       * Add three explicit sizing modes to Stack for non-positioned
         children: loose, expand, and passthrough. (All three are used.)
      
       * Fix a bug whereby layers would try to paint in the same frame as
         they were removed from layout (but not detached).
      
       * Fix a bug whereby Offstage wasn't properly marking the parent dirty
         when changing its sizedByParent flag.
      
       * Explicitly make Overlay expand non-positioned children.
      
       * Explicitly have InputDecoration pass through the constraints from
         its Row to its Stack children.
      596eb033
  21. 19 Apr, 2017 1 commit
  22. 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
  23. 05 Apr, 2017 1 commit
    • Adam Barth's avatar
      Add Wrap (#9225) · 882c992b
      Adam Barth authored
      The Wrap widget is a layout that places children in a run in order along its
      main axis until it runs out of space. At that point, starts placing children in
      a new run that is adjacent in the cross axis.
      
      Fixes #8831
      882c992b
  24. 31 Mar, 2017 1 commit
  25. 19 Mar, 2017 1 commit
  26. 10 Mar, 2017 1 commit
  27. 04 Mar, 2017 1 commit
  28. 14 Feb, 2017 1 commit
    • Ian Hickson's avatar
      Positioned.fromRelativeRect (#8123) · 8ecaff29
      Ian Hickson authored
      Since RelativeRect's whole purpose in life is to make work with Stack
      easier, it's silly that you can't directly use it with Positioned.
      
      Also, tests for RelativeRect.
      And fixes for the bugs that found...
      8ecaff29
  29. 01 Dec, 2016 1 commit
  30. 22 Nov, 2016 1 commit
  31. 19 Nov, 2016 1 commit
  32. 29 Aug, 2016 1 commit
  33. 11 Aug, 2016 1 commit
  34. 08 Jun, 2016 1 commit
  35. 02 Jun, 2016 1 commit
  36. 31 May, 2016 1 commit
  37. 27 May, 2016 1 commit
  38. 12 May, 2016 1 commit
  39. 24 Apr, 2016 1 commit
    • Adam Barth's avatar
      Add Flow layout · f53a5a52
      Adam Barth authored
      A flow layout is optimized for reposition children with transformation
      matrices. A flow layout can animate the position of its children very
      efficiently.
      f53a5a52
  40. 11 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Add even more careful checks around BoxConstraints (#3243) · 47f5c6f2
      Ian Hickson authored
      I ran into a case where I was setting minHeight=∞ and then calling
      layout() with that constraint, which is all kinds of bad. To try to
      catch this earlier, this patch now provides a way to catch constraints
      that are requiring infinite values.
      
      We don't _always_ check this because there are valid uses for
      BoxConstraints.biggest, e.g. as an additionalConstraint.
      47f5c6f2