1. 11 Feb, 2016 1 commit
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  2. 09 Feb, 2016 1 commit
  3. 29 Jan, 2016 1 commit
  4. 27 Jan, 2016 1 commit
  5. 24 Jan, 2016 1 commit
  6. 22 Jan, 2016 1 commit
  7. 21 Jan, 2016 1 commit
    • Adam Barth's avatar
      Scaffold should respect window.padding.bottom · da7e1e5d
      Adam Barth authored
      The space for the keyboard is now represented as bottom padding for the window.
      By teaching the scaffold to respect the bottom window padding, we move the
      floating action button and snackbars out of the way of the keyboard.
      
      This currently works on Android. I'll need to see how to get the keyboard
      geometry on iOS for a similar effect.
      
      Fixes #103
      da7e1e5d
  8. 18 Jan, 2016 1 commit
    • Ian Hickson's avatar
      Reimplement the theme transition animation by actually animating the Theme. · 73c9ebab
      Ian Hickson authored
      As part of this:
       - A lot of classes got new lerp functions, including e.g. TextStyle.
       - Theme's constructor story got overhauled. You can now configure
         everything if you really want to, and we're better about defaults.
       - Material no longer automatically animates its background color.
         (It still does for its shadow.)
       - Tabs try to get the indicator color from the theme.
       - The fields in ThemeData got reordered for sanity.
       - Theme.== and Theme.hashCode got fixed.
       - Typography got a bit of a spring cleaning.
      
      Fixes #613.
      73c9ebab
  9. 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
  10. 08 Jan, 2016 1 commit
  11. 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
  12. 16 Dec, 2015 1 commit
  13. 14 Dec, 2015 1 commit
  14. 09 Dec, 2015 1 commit
  15. 08 Dec, 2015 2 commits
  16. 03 Dec, 2015 2 commits
  17. 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
  18. 25 Nov, 2015 1 commit
  19. 24 Nov, 2015 1 commit
  20. 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
  21. 06 Nov, 2015 1 commit
  22. 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
  23. 30 Oct, 2015 1 commit
  24. 29 Oct, 2015 2 commits
  25. 28 Oct, 2015 2 commits
  26. 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
  27. 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
  28. 16 Oct, 2015 1 commit
  29. 13 Oct, 2015 1 commit
  30. 10 Oct, 2015 3 commits
  31. 09 Oct, 2015 2 commits