1. 22 Mar, 2016 1 commit
    • Hixie's avatar
      Rationalise the overflow render boxes · 34cc0c47
      Hixie authored
      New RenderAligningShiftedBox abstract class for render boxes with
      "alignment", which as of now is:
      
       - RenderPositionedBox
       - RenderConstrainedOverflowBox (ex RenderOverflowBox)
       - RenderSizedOverflowBox
       - RenderFractionallySizedOverflowBox (ex RenderFractionallySizedBox)
      
      (The respective widgets are Align, OverflowBox, SizedOverflowBox, and
      FractionallySizedBox. They haven't been renamed.)
      
      Also I added some toString details.
      34cc0c47
  2. 21 Mar, 2016 1 commit
  3. 19 Mar, 2016 1 commit
  4. 18 Mar, 2016 1 commit
  5. 16 Mar, 2016 1 commit
  6. 15 Mar, 2016 1 commit
    • Adam Barth's avatar
      Tapping drawer during animation causes it to stick · a710676d
      Adam Barth authored
      The problem was we were using a tap gesture to stop the motion of the
      drawer and a drag gesture to settle it. That can cause a broken
      lifecycle. Now we use a single drag recognizer to drive the whole
      lifecycle.
      
      Fixes #775
      Fixes #1276
      a710676d
  7. 14 Mar, 2016 4 commits
  8. 13 Mar, 2016 4 commits
  9. 12 Mar, 2016 9 commits
  10. 11 Mar, 2016 4 commits
    • Adam Barth's avatar
      AspectRatio should attempt to fit its height · 6a54e122
      Adam Barth authored
      If there's not enough height for the given aspect ratio, we now try to see if
      using the height to infer the width will fit the given constraints. The
      algorithm we use is similar to the one we use for RenderImage.
      
      Fixes #2620
      6a54e122
    • Adam Barth's avatar
      Add RotatedBox which applies a rotation before layout · e59b25b2
      Adam Barth authored
      Transform applies its transform before painting, but sometimes you want
      the widget to layout after its transform has been applied. We can't
      handle general tranforms in this way because we can't couple width and
      height constriants, but we can handle certain rotations.
      
      Fixes #1214
      e59b25b2
    • Ian Hickson's avatar
      Enable ALL THE LINTS · 1b9cd520
      Ian Hickson authored
      Well, all the easy ones, anyway.
      
      For some reason `// ignore:` isn't working for me so I've disabled
      lints that need that. Also disabled those that require a ton of work
      (which I'm doing, but not in this PR, to keep it reviewable).
      
      This adds:
      - avoid_init_to_null
      - library_names
      - package_api_docs
      - package_names
      - package_prefixed_library_names
      - prefer_is_not_empty
      - sort_constructors_first
      - sort_unnamed_constructors_first
      - unnecessary_getters_setters
      1b9cd520
    • Adam Barth's avatar
      Prepare to make RenderObjectElement buildable · 0327141c
      Adam Barth authored
      This patch prepares us to pass a BuildContext to RenderObjectWidgets, which
      will make it possible to rebuild RenderObjectElements:
      
       * Delay creation of the render object until mount(). That will let us pass
         `this` to createRenderObject and have the inherited elements be initialized.
      
       * Cleanup widgets that take builder closures to prepare for their
         RenderObjectElement to be rebuilt more often.
      
       * Add a test for the interaction between inherited widgets and
         MixedViewport.
      
      Related to #2598
      0327141c
  11. 10 Mar, 2016 1 commit
  12. 09 Mar, 2016 2 commits
  13. 08 Mar, 2016 3 commits
  14. 07 Mar, 2016 1 commit
  15. 06 Mar, 2016 2 commits
  16. 04 Mar, 2016 2 commits
  17. 03 Mar, 2016 2 commits