1. 08 Feb, 2017 3 commits
  2. 07 Feb, 2017 22 commits
  3. 06 Feb, 2017 8 commits
  4. 05 Feb, 2017 1 commit
  5. 04 Feb, 2017 6 commits
    • Adam Barth's avatar
      Improve and document SliverGrid delegate structure (#7884) · 921c0fa5
      Adam Barth authored
      We now create a GridLayout object that memoizes the layout information
      for a given SliverConstraints. This approach is both more efficient
      (because the delegate no longer needs to re-solve its layout for each
      child) and allows for more code sharing between delegates.
      
      The SliverGridRegularTileLayout will also be useful for the date
      picker.
      
      Also, document the grid delegates.
      921c0fa5
    • Adam Barth's avatar
      Give more control to SliverChildDelegate (#7885) · 7f79cced
      Adam Barth authored
      This patch moves the resonsibility for wrapping repaint boundaries
      around children to SliverChildDelegate, which means delegates can choose
      whether or no to use repaint boundaries.
      
      Also introduce SliverChildBuilderDelegate to make it easier to use the
      builder pattern with sliver lists.
      
      This functionality will be used by date picker, which wants to use a
      SliverGrid but doesn't need a repaint boundary around every day in a
      month grid.
      7f79cced
    • Adam Barth's avatar
      Make kPestoRecipes a constant (#7886) · 652e9c7a
      Adam Barth authored
      Someone on stack overflow was mutating the list of recipes and getting
      confused about why the UI didn't redraw. Making kPestoRecipes a constant
      might help avoid that confusion.
      652e9c7a
    • weisong0's avatar
      Allow multiple observers for the Navigator and MaterialApp (#7883) · b339c715
      weisong0 authored
      * allow mulitple observers for Navigator and MaterialApp
      
      * add test for the navigator observers
      
      * fix style
      
      * add test for adding/removing a navigator observer
      b339c715
    • Adam Barth's avatar
      CustomScrollView (#7881) · ff14f35d
      Adam Barth authored
      Also, use CustomScrollView in Shrine and fix a bug with one-line grids
      not painting properly due to their reporiting zero paintExtent.
      ff14f35d
    • Adam Barth's avatar
      Rename SliverLogicalParentData.scrollOffset to layoutOffset (#7871) · 66742465
      Adam Barth authored
      This quantity is actually the layoutOffset of the child, not its scroll offset.
      66742465