1. 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
  2. 02 Nov, 2015 3 commits
  3. 30 Oct, 2015 1 commit
  4. 28 Oct, 2015 1 commit
  5. 21 Oct, 2015 2 commits
  6. 20 Oct, 2015 1 commit
    • Adam Barth's avatar
      Adds EnterExitTransition widget · d54d35d3
      Adam Barth authored
      This widget smoothly resizes as its child changes and lets you provide entrance
      and exit transitions for its children.
      d54d35d3
  7. 09 Oct, 2015 1 commit
  8. 08 Oct, 2015 1 commit
    • Adam Barth's avatar
      Remove ButtonState · 3308ff00
      Adam Barth authored
      Clients should just use a GestureDetector (or an InkWell) instead.
      3308ff00
  9. 06 Oct, 2015 2 commits
  10. 05 Oct, 2015 1 commit
  11. 02 Oct, 2015 1 commit
    • Adam Barth's avatar
      Add AnimatedContainer · c88ca5db
      Adam Barth authored
      This widget is used in Material and Drawer. We don't currently support
      animating towards null, but we can add that in a future patch.
      c88ca5db
  12. 01 Oct, 2015 2 commits
  13. 18 Sep, 2015 2 commits
    • Hixie's avatar
      Introduce a showPopupMenu() function · a3ae46b9
      Hixie authored
      Instead of having to manage the popup menu from your app's build
      function, you now just call showPopupMenu() with the menu's position and
      it takes care of everything for you.
      
      This solves the problem that the popup menu was trying to mutate the
      state of the navigator from within its own initState() function.
      
      Also, remove the "route" argument to RouteBase.build() since it equals
      "this" by definition...
      
      Also, remove ModalOverlay, and instead put that logic in the navigator.
      a3ae46b9
    • Adam Barth's avatar
      Lift docs from Markdown to dartdoc · 62458b7b
      Adam Barth authored
      I've also removed the top-level description of the Sky package. Instead, we
      should host that content on flutter.io.
      62458b7b
  14. 16 Sep, 2015 2 commits
    • Hixie's avatar
      Factor out GlobalKeyWatcher · d8668606
      Hixie authored
      This also moves the logic that tracks what Widget is being watched into
      GlobalKeyWatcher, and much simplifies Mimic based on this.
      d8668606
    • Adam Barth's avatar
      Remove MimicOverlay · 6e410fd8
      Adam Barth authored
      This widget has no client.
      6e410fd8
  15. 07 Sep, 2015 1 commit
  16. 05 Sep, 2015 1 commit
  17. 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
  18. 01 Sep, 2015 1 commit
  19. 31 Aug, 2015 1 commit
    • Hixie's avatar
      Remove the inner SizeObserver from ScrollableWidgetList. · 820137b7
      Hixie authored
      Adds a HomogeneousViewport class that works like MixedViewport but
      handles only children that have all the same height.
      
      Converts ScrollableWidgetList to use that, so that we don't waste a
      frame looking at the size of the contents each time we change size.
      
      This allows a number of seemingly pointless double-pumps in the tests
      to be removed.
      
      Other changes that were necessary to support the above:
      
       - RenderBlock now supports minExtent (think 'min-height' in CSS)
       - RenderBlock now supports itemExtent (forces the height of each
         child to be the same, so that the itemExtent passed to the fixed-
         height scrollables are all authoritative instead of a source of
         bugs when they don't match)
       - RenderBlockViewport now supports horizontal scrolling
       - improved the style of the isInfinite assert in box.dart
       - fixed the position of a comment in mixed_viewport.dart
       - added a test
       - made the logic for how many items to show be more precise
      820137b7
  20. 30 Aug, 2015 1 commit
  21. 28 Aug, 2015 1 commit
  22. 25 Aug, 2015 1 commit
  23. 21 Aug, 2015 2 commits
  24. 19 Aug, 2015 1 commit
    • Adam Barth's avatar
      Add package:sky/rendering.dart · dea3a092
      Adam Barth authored
      Similar to widgets.dart, rendering.dart exports the entire rendering layer.
      Also, update the examples to use rendering.dart and widgets.dart. Also clean up
      some exports so that the examples have more sensible imports.
      dea3a092
  25. 17 Aug, 2015 1 commit
    • Adam Barth's avatar
      Add support for drag-and-drop · ac0ec322
      Adam Barth authored
      Widgets that want to receive drops should include a DropTarget in their build.
      Currently there's no widget for initiating a drag. Components can use the
      DragController directly. In the future, we'll probably want to add a Draggable
      that knows how to do some of this work automatically.
      
      Fixes #612
      ac0ec322
  26. 07 Aug, 2015 1 commit
    • Adam Barth's avatar
      Add a MimicOverlay widget · 5aafa65f
      Adam Barth authored
      This widget lets you mimic one of its children in an overlay. The overlay
      starts out as the same size of the child and then grows to fill the overlay. In
      the future, the mimic will start at the same visual position as the child.
      5aafa65f
  27. 06 Aug, 2015 1 commit
    • Adam Barth's avatar
      Add widgets for reparenting widgets · 9bed37b5
      Adam Barth authored
      Wrap widgets you want to reparent in a Mimicable widget and assign the
      Mimicable widget a global key. Then, given the same global key to a Mimic
      widget to make it appear elsewhere in the view hierarchy.
      9bed37b5
  28. 05 Aug, 2015 1 commit
  29. 04 Aug, 2015 2 commits
  30. 03 Aug, 2015 2 commits