1. 07 May, 2016 1 commit
    • Adam Barth's avatar
      Move TextAlign out of TextStyle (#3789) · ee903af0
      Adam Barth authored
      TextAlign applies to a whole paragraph instead of applying to an individual
      text span. This patch moves the property out of TextStyle and into a separate
      property on Text and RichText.
      ee903af0
  2. 24 Mar, 2016 1 commit
  3. 14 Mar, 2016 1 commit
  4. 13 Mar, 2016 1 commit
    • Adam Barth's avatar
      [rename fixit] Flex alignments · d5b2e2a0
      Adam Barth authored
      * justifyContent -> mainAxisAlignment
      * alignItems -> crossAxisAlignment
      * FlexJustifyContent -> MainAxisAlignment
      * FlexAlignItems -> CrossAxisAlignment
      
      Fixes #231
      d5b2e2a0
  5. 12 Mar, 2016 2 commits
  6. 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
  7. 11 Jan, 2016 1 commit
  8. 10 Dec, 2015 1 commit
  9. 02 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Fix crash when going back in stocks app. · d5e072c3
      Ian Hickson authored
      Heroes with the same tag have to have keys that are unique across the
      entire subtree. Since we can now show both stock lists, this means we
      have to include the tab in the heroes' keys.
      
      Fixes #668.
      d5e072c3
  10. 11 Nov, 2015 1 commit
  11. 21 Oct, 2015 2 commits
  12. 12 Oct, 2015 1 commit
    • Hixie's avatar
      Lots of trivial warning fixes · f2cc43a4
      Hixie authored
      Add type annotations in many places.
      Fix some identifiers to have more lint-satisfying names.
      Make all operator==s consistent in style.
      Reorder some functions for consistency.
      Make ParentData no longer dynamic, and fix all the code around that.
      f2cc43a4
  13. 03 Oct, 2015 2 commits
    • Adam Barth's avatar
      RenderInkWell should use gestures · cf889934
      Adam Barth authored
      After this patch, InkWell is driven by gesture recognizers, which lets us
      cleanly cancel splashes when the user actually scrolls.
      
      I've also refactored all the clients of InkWell to use InkWell to detect
      gestures instead of wrapping InkWell in a GestureDetector.
      
      Fixes #1271
      cf889934
    • Adam Barth's avatar
      Clean up some style in GestureDetector · 426ce937
      Adam Barth authored
       * Rename GestureTapListener (and friends) To GestureTapCallback to match the
         other gesture callbacks.
       * Replace "ensureFoo" pattern with ??= operator.
      426ce937
  14. 02 Oct, 2015 1 commit
    • Hixie's avatar
      Groundwork for heroes transition in Stocks app · 7734c0b0
      Hixie authored
      Identify specific parts of a Stock row with a Global Key that can be
      regenerated later, and pass that key back to event handlers so they can
      use them to do the transition.
      7734c0b0
  15. 01 Oct, 2015 1 commit
    • Hixie's avatar
      EdgeDims changes and other fixes to core classes. · ce2c56b3
      Hixie authored
      - Rename EdgeDims constructor to EdgeDims.TRBL().
      
      - Add operator== to Size and Offset so that you can compare Size to
        DebugSize in checked mode.
      
      - Add Size.lerp().
      
      - Add various operators to EdgeDims. (*, /, ~/, %)
      
      - Add EdgeDims.lerp().
      
      - Update style guide. I went there to fix an EdgeDims constructor
        example, and stayed because some recent things came up and I wanted to
        add them before I forgot.
      ce2c56b3
  16. 30 Sep, 2015 2 commits
    • 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
      Make Stocks demo list rows clickable · f43591b3
      Hixie authored
      Not having them clickable was making it hard to notice InkSplash bugs.
      Also, this paves the way to having a stock page.
      f43591b3
  17. 26 Sep, 2015 1 commit
  18. 26 Aug, 2015 1 commit
    • Hixie's avatar
      Replace Flex to Row and Column in tests and examples. · ce28a717
      Hixie authored
      This still leaves Flex and FlexDirection available. At some point once
      people have transitioned to Row/Column we should rename Flex to _Flex
      and stop reexporting FlexDirection from basic.dart.
      ce28a717
  19. 11 Aug, 2015 1 commit
  20. 08 Aug, 2015 1 commit
  21. 28 Jul, 2015 2 commits
  22. 24 Jul, 2015 1 commit
    • Jim Simon's avatar
      Converted examples to libraries · 3089686e
      Jim Simon authored
      Converted demo launcher example to library
      
      Converted fitness example to library
      
      Converted hello world example to library
      
      Converted mine digger example to library
      
      Converted stocks example to library
      3089686e
  23. 22 Jul, 2015 1 commit
    • Hixie's avatar
      Introduce an explicit Key type. · 74575775
      Hixie authored
      This fixes some theoretical bugs whereby we were using hashCode to try
      to get unique keys for objects, but really we wanted object identity.
      It also lays the groundwork for a new GlobalKey concept.
      
      I tried to keep the impact on the code minimal, which is why the "Key"
      constructor is actually a factory that returns a StringKey. The code
      has this class hierarchy:
      
      ```
         KeyBase
          |
         Key--------------+---------------+
          |               |               |
         StringKey    ObjectKey       UniqueKey
      ```
      
      ...where the constructors are Key and Key.stringify (StringKey),
      Key.fromObjectIdentity (ObjectKey), and Key.unique (UniqueKey).
      
      We could instead of factory methods use regular constructors with the
      following hierarchy:
      
      ```
         KeyBase
          |
         LocalKey---------+---------------+
          |               |               |
         Key      ObjectIdentityKey   UniqueKey
      ```
      
      ...with constructors Key, Key.stringify, ObjectIdentityKey, and
      UniqueKey, but I felt that that was maybe a more confusing hierarchy.
      I don't have a strong opinion on this.
      74575775
  24. 18 Jul, 2015 1 commit
  25. 17 Jul, 2015 2 commits
  26. 16 Jul, 2015 1 commit