1. 09 Mar, 2016 1 commit
  2. 08 Mar, 2016 1 commit
  3. 07 Mar, 2016 1 commit
  4. 06 Mar, 2016 1 commit
  5. 03 Mar, 2016 1 commit
  6. 25 Feb, 2016 1 commit
  7. 14 Feb, 2016 1 commit
    • Adam Barth's avatar
      Add a Velocity class to be explicit about units · 4fb47600
      Adam Barth authored
      We were using an Offset, which represented pixels/second, but it wasn't
      clear to clients whether that was pixels/ms. Now we use a Velocity class
      that is explict about the units.
      
      Fixes #1510
      Fixes #785
      4fb47600
  8. 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
  9. 20 Jan, 2016 2 commits
    • Adam Barth's avatar
      Remove Performance and AnimatedValue · b988a875
      Adam Barth authored
      This patch removes Performance and AnimationValue now that we've ported the
      framework over to AnimationController and Tween. This patch also cleans up the
      names of the AnimationController classes now that they don't have to avoid
      conflicts with the old animation API. Specifically, I've made the following
      renames:
      
       * Animated -> Animation
       * Evaluatable -> Animatable
       * PerformanceStatus -> AnimationStatus
      
      This patch is just renames and moving code around. There aren't any changes in
      behavior.
      b988a875
    • Adam Barth's avatar
      Port most of widgets to AnimationController · 24872f69
      Adam Barth authored
      I've left transitions and enter_exit_transition out of this patch, but I've
      converted the rest.
      24872f69
  10. 25 Dec, 2015 1 commit
  11. 24 Dec, 2015 1 commit
    • Ian Hickson's avatar
      RenderFractionalTranslation · 9bad312a
      Ian Hickson authored
      - Add RenderFractionalTranslation, a render box that does a
        translation based on a FractionalOffset.
      
      - Make FractionalOffset more like Offset
        - dx/dy instead of x/y
        - add /, ~/, %
        - add .zero
      
      - Add alongOffset and alongSize to FractionalOffset so that you can
        easily apply FractionalOffset to Offsets and Sizes. (Better name
        suggestions welcome.)
      
      - Add transformHitTests boolean to RenderTransform (also on
        RenderFractionalTranslation), and to classes based on it.
      
      - Remove the fade from Dismissable. We can add it back using the
        builder-with-child pattern like Draggable if we need it. See #1003
        for tha feature request.
      
      - Rename a bunch of variables in dismissable.dart.
      
      - Change the test for dismissable to not handle leftwards dismisses
        one pixel different from rightwards dismisses, and cleaned up the
        resulting effect on the test (mostly making sure we had the right
        number of pumps, with comments explaining what each one was).
      
      Fixes #174.
      9bad312a
  12. 10 Dec, 2015 1 commit
    • Adam Barth's avatar
      Add more dartdoc · 0885926e
      Adam Barth authored
      These docs cover some undocumented enums and some of the basic layout widgets.
      0885926e
  13. 16 Nov, 2015 1 commit
    • Hixie's avatar
      Fix some examples. · 5e221334
      Hixie authored
      - drag and drop was using the wrong draggables (long press vs short
        press).
      
      - navigation.dart wasn't using material correctly and so was ending up
        with some red text.
      
      - piano wasn't followig our style guide even a little.
      
      - date picker was not scrollable.
      5e221334
  14. 27 Oct, 2015 2 commits
  15. 20 Oct, 2015 2 commits
  16. 10 Oct, 2015 3 commits
  17. 09 Oct, 2015 1 commit
  18. 08 Oct, 2015 1 commit
  19. 06 Oct, 2015 1 commit
  20. 05 Oct, 2015 2 commits
  21. 03 Oct, 2015 1 commit
  22. 01 Oct, 2015 1 commit
  23. 18 Sep, 2015 1 commit
  24. 16 Sep, 2015 2 commits
    • Adam Barth's avatar
      Move Drawer to GestureDetector · 74f7d9ef
      Adam Barth authored
      This fixes an issue in the stocks app in horizontal mode where you could both
      scroll and drag the drawer at the same time.
      74f7d9ef
    • Hixie's avatar
      Be more explicit about what's state in dismissable · adf7c48d
      Hixie authored
      Move _activeCardDragEndPoint near build() so it's more obvious that it
      is part of the build state.
      
      Make a couple of functions use setState() since they modify variables
      that are used by build().
      
      Add a more detailed comment to the empty setState() call, since those
      are dubious in general and need explaining when they occur, lest people
      start using them as magic incantations to Make Things Work.
      adf7c48d
  25. 11 Sep, 2015 1 commit
  26. 10 Sep, 2015 1 commit
    • Adam Barth's avatar
      Fold fling gesture into onDragEnd · 63101e49
      Adam Barth authored
      That way the fling engages in the same direction as the scroll. For example, if
      you have a horizontal scroll nested inside a vertical scroll, the fling will
      take place in the same direction as the scroll.
      63101e49
  27. 08 Sep, 2015 1 commit
    • Adam Barth's avatar
      Introduce package:sky/animation.dart · b356d146
      Adam Barth authored
      Move the animation libraries into src/animation and change importers to use
      package:sky/animation.dart. Also, move scheduler.dart into the animation
      library so that the animation library can be self-contained.
      b356d146
  28. 04 Sep, 2015 2 commits
    • Hans Muller's avatar
    • Hans Muller's avatar
      Add Dismissable support for DismissDirection · 4e01c054
      Hans Muller authored
      ```
      enum DismissDirection {
        vertical,
        horizontal,
        left,
        right,
        up,
        down
      }
      ```
      
      To only enable dismissing to the right create the `Dismissable` with `direction: DismissDirection.right`. By default direction is `DismissDirection.horizontal` (left or right).
      
      Updated the card_collection "Swipe Away" demo with a drawer that can be used to select one of the three X axis dismiss directions. Currently the MixedViewport class doesn't support horizontal scrolling, so the demo doesn't support the X axis dismiss directions.
      4e01c054
  29. 03 Sep, 2015 1 commit
    • Hans Muller's avatar
      Fix minor problems in _ScrollGestureRecognizer, Dismissable · 952e7358
      Hans Muller authored
      Alternating scroll gestures would sometimes be ignored because _ScrollGestureRecognizer didn't always reset its _state when the pointer[s] went up.
      
      A Dismissable dismiss triggered by a drag and then a fling could cause the next attempt to drag-dimiss to fail.
      
      Fixed the definition of lerpColor().
      952e7358
  30. 02 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move widgets and rendering inside src · 693ddcd8
      Adam Barth authored
      Code outside of package:sky should import this code using
      
      package:sky/rendering.dart
      package:sky/widgets.dart
      
      Moving this code into the "src" directory is a convention that signifies that
      and it cleans up the generated dartdoc because the libraries in the src
      directory aren't included in the generated documentation. Instead, the classes
      are documented in the widgets.dart and rendering.dart libraries.
      693ddcd8
  31. 31 Aug, 2015 1 commit
    • Hans Muller's avatar
      Convert Dismissable to use gestures · 7a42fe34
      Hans Muller authored
      Convert Dismissable to use the ScrollStart, ScrollUpdate, and ScrollEnd gestures. Support for fling gestures is TBD.
      
      Included a basic unit test that checks that one item can be dismissed with a press-drag-release gesture.
      
      Fixed the scroll gesture recognizer: if the last pointer goes up and candidate recognizers still exist, then reject the gesture.
      7a42fe34
  32. 22 Aug, 2015 1 commit