1. 10 Oct, 2015 1 commit
  2. 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
  3. 01 Oct, 2015 3 commits
  4. 30 Sep, 2015 1 commit
    • Hixie's avatar
      Draggable · a91dd07c
      Hixie authored
      Introduce a Draggable class that wraps all the logic of dragging
      something and dropping it on a DragTarget.
      
      Update examples/widgets/drag_and_drop.dart accordingly.
      
      Make the performance/transition part of routes optional.
      a91dd07c