1. 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
  2. 18 Dec, 2015 1 commit
  3. 07 Dec, 2015 1 commit
  4. 04 Dec, 2015 1 commit
  5. 03 Dec, 2015 1 commit
    • Hixie's avatar
      buildForwardTransition() · bc5307f5
      Hixie authored
      For those times when you want to do something as you move away from a
      route into the next one, as well as when you move into it from the
      previous one.
      bc5307f5
  6. 06 Nov, 2015 1 commit
  7. 21 Oct, 2015 1 commit
  8. 18 Oct, 2015 1 commit
    • Hixie's avatar
      Enable Positioned to be animated. · fb8fe97a
      Hixie authored
      Add a AnimatedRelativeRectValue class for animating RelativeRects.
      
      Add a PositionedTransition class for animating Positioned using
      AnimatedRelativeRectValues.
      
      Add a test for PositionedTransition.
      
      Fix a math bug a RelativeRect found by the test.
      
      Fix a logic bug in the two ParentDataWidget classes found by the test.
      Specifically, they were marking the child dirty, rather than the parent.
      The parentData is for the parent's layout, not the child's, so they have
      to mark the parent dirty. (I didn't hoist this up to the superclass
      because ParentData could be used for painting, hit testing,
      accessibility, or any number of other things, and I didn't want to bake
      in the assumption that it needed markNeedsLayout.)
      fb8fe97a
  9. 16 Oct, 2015 1 commit
  10. 10 Oct, 2015 1 commit
  11. 09 Oct, 2015 1 commit
  12. 06 Oct, 2015 1 commit
  13. 05 Oct, 2015 1 commit
  14. 01 Oct, 2015 2 commits
  15. 20 Sep, 2015 1 commit
  16. 18 Sep, 2015 1 commit
  17. 14 Sep, 2015 1 commit
    • Hixie's avatar
      Code cleanup · 61f8651c
      Hixie authored
      - Add documentation for AnimationTiming.
      - typo: defaules -> defaults.
      - added type information to isWatching() signature.
      - made Widget.toStringName() include more useful information.
      - cleaned up StatefulComponent._sync(): more specific signature, change
        redundant if to else, remove redundant cast.
      - change order of TransitionBase arguments for consistency.
      - prevent TransitionBase from affecting the performance in its
        constructor when it didn't create it (but see #1103).
      - remove TODO() from @mpcomplete... no, there is not currently a better
        way to inherit a constructor, unfortunately.
      61f8651c
  18. 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
  19. 03 Sep, 2015 1 commit
  20. 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
  21. 28 Aug, 2015 1 commit
  22. 22 Aug, 2015 1 commit
  23. 21 Aug, 2015 1 commit
  24. 11 Aug, 2015 1 commit
    • Matt Perry's avatar
      Scaffold: animate the FloatingActionButton with the SnackBar. · 3d9f5231
      Matt Perry authored
      This introduces the concept of an Anchor, which you can use to link
      transitions together. I've used this in the Fitness and Stocks apps to
      link the FAB and SnackBar to animate together by sharing the
      SlideTransition.
      
      I also fixed the Scaffold hit testing code to apply sub-widget
      transforms, so it works with Transformed nodes.
      3d9f5231
  25. 06 Aug, 2015 1 commit
  26. 04 Aug, 2015 1 commit
  27. 03 Aug, 2015 2 commits
  28. 02 Aug, 2015 1 commit
  29. 31 Jul, 2015 1 commit