1. 27 Oct, 2015 3 commits
    • Adam Barth's avatar
      Add a position to the onTap callback · 2225405f
      Adam Barth authored
      Fixes #1807
      2225405f
    • Ian Hickson's avatar
      Track scroll position · 8a900f90
      Ian Hickson authored
      - Change RouteArguments to pass the route's BuildContext rather than
        the Navigator. This caused the bulk of the examples/ and .../test/
        changes (those are mostly mechanical changes). It also meant I could
        simplify Navigator.of().
      
      - Make initState() actually get called when the State's Element is in
        the tree, so you can use Foo.of() functions there. Added a test for
        this also.
      
      - Provide a RouteWidget so that routes have a position in the Widget
        tree. The bulk of the route logic is still in a longer-lived Route
        object for now.
      
      - Make Route.setState() only rebuild the actual route, not the whole
        navigator.
      
      - Provided a Route.of().
      
      - Provided a Route.writeState / Route.readState API that tries to
        identify the clients by their runtimeType, their key, and their
        ancestors keys, up to the nearest ancestor with a GlobalKey.
      
      - Made scrollables hook into this API to track state. Added a test to
        make sure this works.
      
      - Fix the debug output of GestureDetector and the hashCode of
        MixedViewport.
      
      - Fixed ScrollableWidgetListState<T> to handle infinite lists.
      8a900f90
    • Adam Barth's avatar
      Use VoidCallback for onPressed and friends · d6dc9d47
      Adam Barth authored
      Previous these callbacks were leaking the implementation detail that they were
      triggered by taps. In a later patch, we're going to add a parameter to
      GestureTapCallback that these callbacks won't have.
      
      Related to #1807
      d6dc9d47
  2. 24 Oct, 2015 1 commit
    • Hixie's avatar
      Strong modeify the examples · a6c473ea
      Hixie authored
      This makes skyanalyzer also check the examples, and fixes everything it
      found there.
      a6c473ea
  3. 20 Oct, 2015 1 commit
  4. 19 Oct, 2015 1 commit
  5. 13 Oct, 2015 2 commits
  6. 10 Oct, 2015 3 commits
  7. 09 Oct, 2015 2 commits
  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 1 commit
  10. 05 Oct, 2015 1 commit
    • Hixie's avatar
      Simplify the usage of Navigator's routes argument · 90a0f630
      Hixie authored
      (These are changes cherry-picked from in-flight branches since they are
      more independent and could be helpful even without those changes.)
      
      - Change RouteBuilder's signature to take a single argument in which the
        other fields are placed, so that we can keep iterating on those
        arguments without having to break compatibility each time. Also, this
        makes defining route builders much simpler (only one argument to
        ignore rather than a variable number).
      
      - Expose the next performance to RouteBuilders, since sometimes the
        route itself might not be where it's used.
      
      - Allow BuildContext to be used to walk children, just like it can for
        ancestors
      
      - Allow BuildContext to be used to get the Widget of the current
        BuildContext
      
      - Allow StatefulComponentElement to be referenced with a type
        specialisation so that you don't have to cast when you know what the
        type you're dealing with actually is.
      90a0f630
  11. 01 Oct, 2015 4 commits
  12. 25 Sep, 2015 1 commit
  13. 18 Sep, 2015 2 commits
    • Adam Barth's avatar
      SkySprites should import the public libraries · 490b2287
      Adam Barth authored
      Importing the public libraries caused a name conflict with dart:sky because we
      assume people will import dart:sky into a namespace, so I've also changed
      skysprites to import dart:sky into a namespace.
      490b2287
    • Adam Barth's avatar
      Move theme into material.dart · 4467a268
      Adam Barth authored
      Also, introduce Colors and Typography to hold the material colors and the
      typography declarations. Previously we expected clients of these libraries to
      import them into a namespace, but that doesn't play nice with re-exporting them
      from material.dart.
      4467a268
  14. 17 Sep, 2015 1 commit
  15. 14 Sep, 2015 1 commit
  16. 08 Sep, 2015 1 commit
  17. 04 Sep, 2015 3 commits
  18. 03 Sep, 2015 4 commits
  19. 02 Sep, 2015 5 commits
  20. 01 Sep, 2015 2 commits