1. 20 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Hide routes from the API when they're not needed. (#3431) · 1b9476c4
      Ian Hickson authored
      The 'routes' table is a point of confusion with new developers. By
      providing a 'home' argument that sets the '/' route, we can delay the
      point at which we teach developers about 'routes' until the point where
      they want to have a second route.
      1b9476c4
  2. 16 Apr, 2016 1 commit
  3. 06 Apr, 2016 1 commit
    • Adam Barth's avatar
      PopupMenuButton should lazily build menu items · 7ab122e5
      Adam Barth authored
      Previously, the client of PopupMenuButton needed to build all the menu times
      
      when building the PopupMenuButton. This can get expensive if, for example, each
      item in a scrollable list has a popup menu associated with it.
      
      Now the client passes a builder function to the PopupMenuButton that gets
      invoked only when its time to show the menu items.
      7ab122e5
  4. 05 Apr, 2016 1 commit
    • Adam Barth's avatar
      Adds a first draft of LazyBlock · 618e7e49
      Adam Barth authored
      LazyBlock is intended as a replacement for MixedViewport. Rather than
      
      maintaining a table of all the observed child sizes (like
      
      MixedViewport), LazyBlock works by dead reckoning the location of the
      
      children based on the existing viewport. This approach makes it easier
      
      to resize children because LazyBlock doesn't cache any additional
      
      information that would need to be invalidated.
      
      
      
      This patch contains a first draft of LazyBlock that works in a simple
      
      usage scenario. Subsequent patches will replace
      
      ScrollableMixedWidgetList with LazyBlock and port the existing
      
      ScrollableMixedWidgetList tests over to LazyBlock.
      
      
      
      Related to #3075
      618e7e49
  5. 01 Apr, 2016 1 commit