1. 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
  2. 10 Jan, 2016 3 commits
  3. 09 Jan, 2016 3 commits
    • Ian Hickson's avatar
      Fix crazy assertion. · f07a0c98
      Ian Hickson authored
      Not sure what I was doing when I wrote this assertion, but I'm pretty
      sure it's wrong. I'm guessing the change here is what I actually meant
      to write.
      f07a0c98
    • Ian Hickson's avatar
      Add more debugPaintSizeEnabled construction lines. · 20a01b42
      Ian Hickson authored
      - padding is shown in blue with a darker blue around the child
      - spacing (empty size boxes or padding) is shown in gray
      - alignment from a RenderPositionedBox is shown with yellow arrows
      20a01b42
    • Adam Barth's avatar
      Drawer edge swipe convers entire screen · 1ef3f82e
      Adam Barth authored
      When I tightened up the layout constraints for the Drawer in the
      Scaffold, I ended up making the edge swipe detector cover the entire
      screen.  This patch fixes that issue by putting the gesture detector for
      the edge swipe just around the container with the proper width. We now
      use a global key to maintain the state across hierarchy changes.
      1ef3f82e
  4. 08 Jan, 2016 6 commits
  5. 07 Jan, 2016 9 commits
  6. 06 Jan, 2016 5 commits
  7. 05 Jan, 2016 3 commits
    • Adam Barth's avatar
      Complete features of ScrollableList2 · 37106ea6
      Adam Barth authored
      This patch implements the remaining missing features of ScrollableList2.
      It should now be nearly a drop-in replacement for ScrollableList. The
      next patch will switch callers over to the new machinery.
      37106ea6
    • Adam Barth's avatar
      Remove ScrollDirection.both · 7aa575b0
      Adam Barth authored
      Almost none of the clients of ScrollDirection can handle scrolling in both
      directions.
      
      Fixes #151
      7aa575b0
    • Adam Barth's avatar
      Introduce ScrollableList2 · 99bca282
      Adam Barth authored
      ScrollableList2 uses the same pattern as ScrollableGrid, which requires the
      client to allocate widgets for every list item but doesn't inflate them unless
      they're actually needed for the view. It improves on the original
      ScrollableList by not requiring a rebuild of the whole visible portion of the
      list when scrolling. In fact, small scrolls can often be handled entirely by
      repainting.
      99bca282
  8. 04 Jan, 2016 2 commits
  9. 02 Jan, 2016 4 commits
    • Adam Barth's avatar
      Generalize grid layout · 46a178dc
      Adam Barth authored
      This patch make grid layout much more flexible. The behavior is factored
      out into a GridDelegate that's modeled after the custom layout
      delegates. The patch includes a MaxTileWidthGridDelegate that implements
      the old behavior and a FixedColumnCountGridDelegate that implements a
      grid layout with a fixed number of columns.
      
      Fixes #1048
      46a178dc
    • Adam Barth's avatar
      RenderBox should use Offset for child offset · e9ac6d30
      Adam Barth authored
      Previously we used Position, which makes it harder to accumulate offsets
      when walking the render tree.
      e9ac6d30
    • Adam Barth's avatar
      ScrollbarPainter exception when scrolling MaterialList · 94843700
      Adam Barth authored
      When assigning a new overlayPainter, we were detaching the old overlay
      painter even if the render object itself wasn't attached. Now we only
      twiddle the attach/detach state of the overlay painter when we're
      attached ourselves.
      
      Fixes #1047
      94843700
    • Adam Barth's avatar
      Ink well in ListItem doesn't fill MaterialList · ab614847
      Adam Barth authored
      We need to put the padding on the inside of the list item.
      
      Fixes #1055
      ab614847
  10. 31 Dec, 2015 1 commit
  11. 30 Dec, 2015 1 commit
  12. 28 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Various Input and Focus fixes · b1dae4c4
      Ian Hickson authored
      Require a Key on Input.
      
      Simplify the API for Focus.at() and Focus.moveTo().
      Fixes #236.
      This will require an e-mail to flutter-dev.
      
      Make Input grab focus onTap not onPointerDown.
      Fixes #189.
      
      Complain when you use Focus.at() with two different GlobalKeys that
      are both in the tree at the same time.
      Fixes #181.
      
      Add dartdocs for Focus.moveTo() and Focus.moveScopeTo().
      b1dae4c4
  13. 26 Dec, 2015 1 commit