1. 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
  2. 28 Aug, 2015 2 commits
  3. 25 Aug, 2015 1 commit
  4. 13 Aug, 2015 1 commit
    • Matt Perry's avatar
      Fix common asserts in animation API. · 8a729317
      Matt Perry authored
      1. We would assert if you tried to start an animation from within an
      animation status callback. This is a common pattern, so I fixed this
      assert (in Ticker._tick).
      2. We would assert for animations with duration under a millisecond.
      Fixed.
      
      Also removed the workarounds assocated with #1.
      8a729317
  5. 11 Aug, 2015 2 commits
    • 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
    • Eric Seidel's avatar
      Fix crash when hitting "enter" key on keyboard during entry · 441fe4d4
      Eric Seidel authored
      Now it wont crash on save, but it still doesn't display
      the error message in a snackbar and this also doesn't
      wire up the enter/go key to actually do anything.
      
      We'll need to implement performEditorAction on our
      InputConnection implementation to catch this key and
      pass it along to dart.
      
      Our Input control needs to get more powerful to handle things
      like this, including filtering of input.
      
      The code was crashing by triggering a bug in the SnackBar
      which didn't assert for actions, but crashed when they
      were not null.
      
      Partial fix for https://github.com/domokit/sky_engine/issues/543
      
      @abarth
      441fe4d4
  6. 06 Aug, 2015 1 commit
  7. 03 Aug, 2015 1 commit
    • Matt Perry's avatar
      Rename some animation classes. · 99c0edd6
      Matt Perry authored
      * Intentions => Behaviors
      * SlideIn => SlideTransition
      * FadeIn => FadeTransition
      * removed unused AnimatedContainer intentions
      99c0edd6
  8. 02 Aug, 2015 1 commit
  9. 31 Jul, 2015 1 commit
  10. 30 Jul, 2015 1 commit
  11. 29 Jul, 2015 1 commit
  12. 28 Jul, 2015 4 commits
  13. 22 Jul, 2015 3 commits
    • 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
    • Matt Perry's avatar
      Make SnackBar animate itself. · b31e06a5
      Matt Perry authored
      b31e06a5
    • Matt Perry's avatar
      rebase · 839e997e
      Matt Perry authored
      839e997e
  14. 20 Jul, 2015 1 commit
  15. 16 Jul, 2015 1 commit