1. 11 Jan, 2016 3 commits
    • Adam Barth's avatar
      Use a named argument for Widget children · 05676641
      Adam Barth authored
      Previously we used a positional argument for widgets that had multiple
      children. Now we use a named argument that defaults to an empty list.
      
      Fixes #241
      05676641
    • Ian Hickson's avatar
      88c43c3f
    • Ian Hickson's avatar
      Add more debugging options to the stocks app. · 48e1350e
      Ian Hickson authored
      - Add an option to enable debugPaintSizeEnabled.
      - Add an option to enable the StatisticsOverlay.
      - Add support for the StatisticsOverlay in MaterialApp.
      - Change the layout behaviour of RenderStatisticsBox:
         - Give it a zero intrinsic width.
         - Give it an accurate intrinsic height that depends on the flags
           set. (Also, move the enum to the rendering/ layer from the
           widgets/ layer to enable this.)
         - Make the box automatically size itself full-width and the correct
           height, so that you can actually embed it (though most of the
           time you'd just put it in a Stack so this doesn't matter as
           much, really).
      - Some style nit fixes in statistics_box.dart.
      48e1350e
  2. 08 Jan, 2016 1 commit
  3. 07 Jan, 2016 1 commit
    • Adam Barth's avatar
      Move default back behavior to FlutterWidgetBinding · e3d587ea
      Adam Barth authored
      Previously MaterialApp was responsible for ending the activity when the
      back stack was empty. However, this behavior is more general than
      material. This patch moves the behavior to FlutterWidgetBinding, which
      has a global view of all the binding observers.
      
      Fixes #1086
      e3d587ea
  4. 16 Dec, 2015 1 commit
  5. 14 Dec, 2015 1 commit
  6. 09 Dec, 2015 1 commit
  7. 08 Dec, 2015 2 commits
  8. 03 Dec, 2015 2 commits
  9. 30 Nov, 2015 1 commit
    • Hixie's avatar
      NavigatorTransaction · f9ea1ce8
      Hixie authored
      To make it easier to avoid pushing twice in one frame, provide a
      transaction mechanism for the navigator.
      f9ea1ce8
  10. 25 Nov, 2015 1 commit
  11. 24 Nov, 2015 1 commit
  12. 16 Nov, 2015 1 commit
    • Hixie's avatar
      Move Material page animations to Material layer. · 309d25d4
      Hixie authored
      PageRoute is now MaterialPageRoute.
      
      This also changes the following:
      
      - Now the HeroController is a Navigator observer, rather than a feature
        of HeroPageRoutes, which are gone. This means heroes can work between
        any kind of ModalRoute now.
      
      - ModalPageRoute is moved from modal_barrier.dart to routes.dart.
      
      - It allows routes to opt-out of their modal barrier being a shortcut to
        popping the route.
      
      - Features of PageRoute that aren't Material-specific get promoted to
        ModalRoute features: storage, the subtree key, offstageness...
      
      The AnimatedModalBarrier is still a ModalRoute feature.
      309d25d4
  13. 06 Nov, 2015 1 commit
  14. 05 Nov, 2015 1 commit
    • Hixie's avatar
      Better asserts for MaterialApp and Navigator · 88314077
      Hixie authored
      - runApp(new MaterialApp()) was crashing long after the constructor. Now
        it asserts in a more useful location.
      - remove the default name for NamedRouteSettings. It was unused anyway.
      88314077
  15. 30 Oct, 2015 1 commit
  16. 29 Oct, 2015 2 commits
  17. 28 Oct, 2015 2 commits
  18. 23 Oct, 2015 1 commit
    • Adam Barth's avatar
      Add DefaultAssetBundle · 54bf20e1
      Adam Barth authored
      Now AssetImage will look in the default bundle if you don't supply an explicit
      bundle.
      
      Fixes #680
      54bf20e1
  19. 21 Oct, 2015 1 commit
    • Hixie's avatar
      Make Route.build() arguments match RouteBuilder() · babba2f0
      Hixie authored
      Assert at build time that PageRoute route builders do not return null
      widget trees.
      
      Also very minor new code comments and code reorg to help make the heroes
      patch easier to review.
      
      (These are changes that are unrelated to Heroes but that were part of
      the Heroes patch.)
      babba2f0
  20. 16 Oct, 2015 1 commit
  21. 13 Oct, 2015 1 commit
  22. 10 Oct, 2015 3 commits
  23. 09 Oct, 2015 3 commits
  24. 06 Oct, 2015 1 commit
  25. 03 Oct, 2015 1 commit
  26. 02 Oct, 2015 1 commit
  27. 01 Oct, 2015 1 commit
  28. 30 Sep, 2015 3 commits
    • Adam Barth's avatar
      Remove BuildContext argument to initState · 347bd25c
      Adam Barth authored
      This argument isn't needed anymore now that State has a getter for context.
      347bd25c
    • Hixie's avatar
      Dynamic named routes · f2b7dd62
      Hixie authored
      Make it possible for named routes to be generated on the fly.
      
      To demonstrate this, you can now long-press a stock to open it.
      
      Next steps:
      
       - transitions between (named) states that follow full material logic,
         e.g. in the case of the stock row to stock page transition, expanding
         the row into a raised sheet of material and expanding it to fit the
         screen, leaving the toolbar in place but cross-fading the old
         contents to the new contents.
      
       - more information in the stock view.
      
      While I was here I also made Material have an opinion about default text
      style, so if you forget to set one, it just uses body1.
      
      Also, fixed bugs introduced recently that made RouteState and MenuRoute
      not work properly.
      f2b7dd62
    • Hixie's avatar
      Draggable · a91dd07c
      Hixie authored
      Introduce a Draggable class that wraps all the logic of dragging
      something and dropping it on a DragTarget.
      
      Update examples/widgets/drag_and_drop.dart accordingly.
      
      Make the performance/transition part of routes optional.
      a91dd07c