1. 27 Oct, 2015 15 commits
    • Viktor Lidholt's avatar
      Merge pull request #1833 from vlidholt/master · be2b4db3
      Viktor Lidholt authored
      Improves physics debug drawing
      be2b4db3
    • 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
    • Viktor Lidholt's avatar
      Updates physics test to draw debug · 848b79ef
      Viktor Lidholt authored
      848b79ef
    • Viktor Lidholt's avatar
      Improves physics debug drawing · fde92a69
      Viktor Lidholt authored
      fde92a69
    • Viktor Lidholt's avatar
      Fixes issue with physics collision groups · 96689dec
      Viktor Lidholt authored
      96689dec
    • Adam Barth's avatar
      Use VoidCallback in more places · e77cad81
      Adam Barth authored
      We still use special-purpose typedefs in the gesture code for symmetry with
      other gesture callbacks.
      
      Fixes #1827
      e77cad81
    • Adam Barth's avatar
      Merge pull request #1822 from abarth/custom_shifted_box · 7ae730bb
      Adam Barth authored
      Add CustomOneChildLayout
      7ae730bb
    • Adam Barth's avatar
      Merge pull request #1825 from abarth/tap_tracker · 3e27b9b3
      Adam Barth authored
      Make TapTracker and TapGesture private classes
      3e27b9b3
    • Adam Barth's avatar
      Add CustomOneChildLayout · f06559af
      Adam Barth authored
      A CustomOneChildLayout is a widget that lets you perform a custom layout in the
      simplified setting of sizing and positioning a single child.
      f06559af
    • 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
    • Adam Barth's avatar
      Make TapTracker and TapGesture private classes · 3fc05b79
      Adam Barth authored
      We don't want to expose these from the gesture package. This patch moves
      DoubleTapGestureRecognizer into tap.dart so we can make TapTracker and
      TapGesture private to that file.
      3fc05b79
    • Ian Hickson's avatar
      Merge pull request #1819 from Hixie/new-enabled-approach · 93622ebd
      Ian Hickson authored
      Use the presence of handler to determine 'enabled'
      93622ebd
    • Adam Barth's avatar
      Merge pull request #1814 from abarth/fix_right_align · f35ad647
      Adam Barth authored
      Right-aligned text paints offscreen sometimes
      f35ad647
    • Hixie's avatar
      Use the presence of handler to determine 'enabled' · d11acc41
      Hixie authored
      Instread of an explicit 'enabled' bool, this uses the presence of the
      event handler to determine if a widget is enabled or not. This means
      that if you've not passed a handler, your widget will be disabled, which
      makes sense, since it wouldn't work anyway.
      
      Adds this feature to checkbox, and ports raised button, flat button, and
      radio buttons to this new model.
      
      Adds a checkbox to card_collection that can be disabled.
      
      Hide a (basically bogus) hint from the (soon to be disabled) strong hint
      mode in the analyzer that this reveals.
      d11acc41
    • Hixie's avatar
      Make ink wells animate their highlight. · a13147d0
      Hixie authored
      a13147d0
  2. 26 Oct, 2015 25 commits