1. 29 Sep, 2015 8 commits
    • Jason Simmons's avatar
      Fix a couple of analyzer warnings · 571c7dd9
      Jason Simmons authored
      * Unused import in editable_text.dart
      * Type mismatch in append_child_test.dart
      571c7dd9
    • Jason Simmons's avatar
      Merge pull request #1361 from jason-simmons/edit_text_scrollable_fn3 · 02c2e79b
      Jason Simmons authored
      Allow the Input/EditableText widget to scroll horizontally
      02c2e79b
    • Collin Jackson's avatar
      Merge pull request #1393 from collinjackson/back_button · 1d661842
      Collin Jackson authored
      pressing back button should close app if there is no previous route
      1d661842
    • Collin Jackson's avatar
    • Hans Muller's avatar
    • Hans Muller's avatar
    • Hans Muller's avatar
      SnapOffsets for fling Scrolling · 7385641f
      Hans Muller authored
      Initial snap offset support for ScrollableWidgetList (and ScrollableList<T>) and ScrollableMixedWidgetList. If a ```toSnapOffset(scrollOffset)``` function is provided, fling Scrolls will coast to the returned value. If ```alignmentOffset``` is specified then fling scrolls conclude when toSnapOffset's value lines up with the Scrollable widget's origin + alignmentOffset. For example if the Scrollable widget's height was 200.0, and alignmentOffset:100.0 was specified, then fling scrolls would end with the value returned by toSnapOffset() lined up with the center of the Scrollable.
      
      This approach to Scrollable snapping assumes that the layout of whatever the Scrollable contains is known at the outset. This is often true however a ScrollableMixedWidgetList may not know its items' sizes until they've been reached by scrolling.
      
      This is a first cut at snapping support. Among the things that remain to be done:
      - Scrolling limits trump snapping. Snapping should probably trump scrolling limits.
      - Drag scrolls aren't snapped. This may be desirable so perhaps the feature should be controlled with a flag.
      - Specifying alignmentOffset as a percentage would probably be more convenient.
      - It would be nice if one could wrap items in a SnapOffset value like: ```new SnapOffset(0.5, child: myItem)``` to snap to the center of the item.
      
      Updated the CardCollection example: snapping and fixed size items can be turned on/off with Drawer checkboxes.
      7385641f
    • Jason Simmons's avatar
      Allow the Input/EditableText widget to scroll horizontally · a6f41c8a
      Jason Simmons authored
      EditableText is now rendered using a custom RenderObject
      (RenderEditableParagraph).  RenderEditableParagraph draws the cursor,
      handles scroll offsets, and provides feedback about the size of the text for
      use by the scroll behavior.
      a6f41c8a
  2. 28 Sep, 2015 2 commits
    • Devon Carew's avatar
      Merge pull request #1375 from devoncarew/customize_dartdoc · ebd7fa3e
      Devon Carew authored
      customize the generated dartdoc to look like flutter.io
      ebd7fa3e
    • Adam Barth's avatar
      Actually notify GlobalKey listeners in fn3 · 64dfb849
      Adam Barth authored
      This patch makes a number of changes:
      
      1) buildDirtyComponents now prevents all calls to setState, not just those
         higher in the tree. This change is necessary for consistency with
         MixedViewport and HomogeneousViewport because those widgets already build
         subwidgets with that restriction. If the "normal" build didn't enforce that
         rule, then some widgets would break when put inside a mixed or homogeneous
         viewport.
      
      2) We now notify global key listeners in a microtask after beginFrame. That
         means setState is legal in these callbacks and that we'll produce another
         frame if someone calls setState in such a callback.
      64dfb849
  3. 27 Sep, 2015 3 commits
  4. 26 Sep, 2015 9 commits
  5. 25 Sep, 2015 18 commits