1. 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
  2. 24 Sep, 2017 1 commit
  3. 12 Sep, 2017 1 commit
  4. 07 Sep, 2017 1 commit
  5. 03 Aug, 2017 1 commit
  6. 27 Jun, 2017 1 commit
  7. 27 Apr, 2017 1 commit
  8. 04 Mar, 2017 1 commit
  9. 09 Dec, 2016 1 commit
  10. 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
  11. 15 Sep, 2016 1 commit
  12. 22 Apr, 2016 1 commit
  13. 29 Mar, 2016 1 commit
  14. 16 Mar, 2016 1 commit
  15. 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
  16. 12 Mar, 2016 4 commits
  17. 02 Mar, 2016 1 commit
  18. 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
  19. 02 Jan, 2016 1 commit
  20. 16 Dec, 2015 1 commit
  21. 14 Dec, 2015 1 commit
  22. 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
  23. 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
  24. 15 Oct, 2015 1 commit
  25. 10 Oct, 2015 1 commit
  26. 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
  27. 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
  28. 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
  29. 21 Aug, 2015 1 commit