1. 23 Apr, 2018 1 commit
  2. 01 Feb, 2018 1 commit
  3. 07 Dec, 2017 1 commit
  4. 15 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Adding accomodations to ListTile for scaleTextFactor. (#12973) · c15c021e
      Greg Spencer authored
      This makes ListTile expand vertically when text is scaled, or really when whatever is placed inside it is larger than the available space.
      
      In order for UnconstrainedBox to be useful here, I needed for it to only unconstrain the child Row in one dimension, so I added a "constrainedAxis" parameter to the UnconstrainedBox.
      
      Also, changed one enum test to use a switch instead.
      
      I modified the ListTile test to be more representative of the intention of the spec: we were testing with text in the leading and trailing sections, and the design wants icons there. Because there was leading text, and the dense mode only changes the font size on the text lines, the leading text was propping up the minimum size of the tile, making so that the test wasn't really testing any changes in dense mode.
      c15c021e
  5. 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
  6. 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
  7. 24 Sep, 2017 1 commit
  8. 12 Sep, 2017 1 commit
  9. 07 Sep, 2017 1 commit
  10. 03 Aug, 2017 1 commit
  11. 27 Jun, 2017 1 commit
  12. 27 Apr, 2017 1 commit
  13. 04 Mar, 2017 1 commit
  14. 09 Dec, 2016 1 commit
  15. 16 Nov, 2016 1 commit
    • Ian Hickson's avatar
      Clean up some RenderObject layer stuff (#6883) · 15fb5c4c
      Ian Hickson authored
      More idiomatic use of constraints in performResize.
      
      Trivial fixes to comments.
      
      Make ProxyBox not use BoxParentData since it ignores the field.
      
      Make applyPaintTransform more helpful if you use a different ParentData
      subclass than RenderBox expects.
      
      Make debugAssertIsValid actually fulfill its contract in RenderObject as
      documented.
      
      Add a childBefore for symmetry (we already had childAfter).
      
      Fix the way we dump the child list when there's no children in a
      multichild render object.
      
      More asserts in the rendering test library.
      15fb5c4c
  16. 15 Sep, 2016 1 commit
  17. 22 Apr, 2016 1 commit
  18. 29 Mar, 2016 1 commit
  19. 16 Mar, 2016 1 commit
  20. 13 Mar, 2016 1 commit
    • Adam Barth's avatar
      [rename fixit] Flex alignments · d5b2e2a0
      Adam Barth authored
      * justifyContent -> mainAxisAlignment
      * alignItems -> crossAxisAlignment
      * FlexJustifyContent -> MainAxisAlignment
      * FlexAlignItems -> CrossAxisAlignment
      
      Fixes #231
      d5b2e2a0
  21. 12 Mar, 2016 4 commits
  22. 02 Mar, 2016 1 commit
  23. 11 Jan, 2016 1 commit
    • Ian Hickson's avatar
      tightenWidth(), tightenHeight() => tighten(width:, height:) · c21b565f
      Ian Hickson authored
      This makes it more consistent with tightFor(), and also makes it
      easier to tighten both directions at once when you're not sure you
      will always do so (e.g. if you have a height and width that might be
      null, and want to tighten whichever ones aren't null).
      c21b565f
  24. 02 Jan, 2016 1 commit
  25. 16 Dec, 2015 1 commit
  26. 14 Dec, 2015 1 commit
  27. 18 Nov, 2015 1 commit
    • Hans Muller's avatar
      Update shadow rendering · d9153a13
      Hans Muller authored
      Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec.
      
      The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html.
      
      The "level" property (many classes) is now called "elevation", to match the Material spec.
      
      BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
      d9153a13
  28. 04 Nov, 2015 1 commit
    • Adam Barth's avatar
      Always reset parentData when dropping children · c44dd17d
      Adam Barth authored
      Previously, we'd leave the old values in the parent data if the types matches,
      but not all render objects would reset these values during layout. For example,
      RenderProxyBox doesn't set the position field because it doesn't read the
      position field. However, leaving the old data there violates the invariants of
      the box protocol and can cause trouble (e.g., localToGlobal giving the wrong
      result).
      
      Fixes #1939
      c44dd17d
  29. 15 Oct, 2015 1 commit
  30. 10 Oct, 2015 1 commit
  31. 18 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move theme into material.dart · 4467a268
      Adam Barth authored
      Also, introduce Colors and Typography to hold the material colors and the
      typography declarations. Previously we expected clients of these libraries to
      import them into a namespace, but that doesn't play nice with re-exporting them
      from material.dart.
      4467a268
  32. 05 Sep, 2015 1 commit
    • Adam Barth's avatar
      Document and bring sanity to BoxConstraints · 95277953
      Adam Barth authored
      Turns out many of the functions on BoxConstraints weren't used or had callers
      that could easily be updated to other functions. I've added dartdoc to all the
      public functions as well as renamed some functions that had similar names but
      did different things.
      95277953
  33. 26 Aug, 2015 1 commit
    • Adam Barth's avatar
      Rename layout_utils.dart to rendering_tester.dart · 07d96a23
      Adam Barth authored
      Also, rename build_utils.dart to widget_tester.dart. These files are now named
      for their most commonly used classes.
      
      Finally, add a .analysis_options to silence the (intentional) analyzer warnings
      in append_child_test.dart.
      07d96a23
  34. 21 Aug, 2015 1 commit