1. 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
  2. 16 Dec, 2015 1 commit
  3. 14 Dec, 2015 1 commit
  4. 09 Dec, 2015 1 commit
  5. 08 Dec, 2015 2 commits
  6. 03 Dec, 2015 2 commits
  7. 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
  8. 25 Nov, 2015 1 commit
  9. 24 Nov, 2015 1 commit
  10. 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
  11. 06 Nov, 2015 1 commit
  12. 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
  13. 30 Oct, 2015 1 commit
  14. 29 Oct, 2015 2 commits
  15. 28 Oct, 2015 2 commits
  16. 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
  17. 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
  18. 16 Oct, 2015 1 commit
  19. 13 Oct, 2015 1 commit
  20. 10 Oct, 2015 3 commits
  21. 09 Oct, 2015 3 commits
  22. 06 Oct, 2015 1 commit
  23. 03 Oct, 2015 1 commit
  24. 02 Oct, 2015 1 commit
  25. 01 Oct, 2015 1 commit
  26. 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
  27. 29 Sep, 2015 1 commit
  28. 26 Sep, 2015 1 commit