1. 17 Aug, 2015 3 commits
  2. 14 Aug, 2015 4 commits
  3. 13 Aug, 2015 7 commits
  4. 12 Aug, 2015 1 commit
  5. 11 Aug, 2015 8 commits
    • Andrew Wilson's avatar
    • Hans Muller's avatar
      Adds ensureWidgetIsVisible() function to scrollable.dart · 9e9d845b
      Hans Muller authored
      Set the scrollOffset of a widget's Scrollable ancestor so that the
      widget is centered within the scrollable. A future CL will add
      support for specifying exactly where the widget appears. The scroll
      can be animated by specifying the animation: parameter.
      
      Changed the duration Scrollable.scrollTo() parameter from a Duration
      to an AnimationPerformance so that one can configure all aspects of
      the animation. The caller may also listen to the animation to schedule
      other work while it updates or when its status changes.
      complete
      9e9d845b
    • Eric Seidel's avatar
      Attempt to make our splashes closer to other Android apps · cd5715bb
      Eric Seidel authored
      And also Material Design of course.
      
      @abarth
      cd5715bb
    • Matt Perry's avatar
      Scaffold: animate the FloatingActionButton with the SnackBar. · 3d9f5231
      Matt Perry authored
      This introduces the concept of an Anchor, which you can use to link
      transitions together. I've used this in the Fitness and Stocks apps to
      link the FAB and SnackBar to animate together by sharing the
      SlideTransition.
      
      I also fixed the Scaffold hit testing code to apply sub-widget
      transforms, so it works with Transformed nodes.
      3d9f5231
    • Eric Seidel's avatar
      Fix crash when hitting "enter" key on keyboard during entry · 441fe4d4
      Eric Seidel authored
      Now it wont crash on save, but it still doesn't display
      the error message in a snackbar and this also doesn't
      wire up the enter/go key to actually do anything.
      
      We'll need to implement performEditorAction on our
      InputConnection implementation to catch this key and
      pass it along to dart.
      
      Our Input control needs to get more powerful to handle things
      like this, including filtering of input.
      
      The code was crashing by triggering a bug in the SnackBar
      which didn't assert for actions, but crashed when they
      were not null.
      
      Partial fix for https://github.com/domokit/sky_engine/issues/543
      
      @abarth
      441fe4d4
    • Alex Fandrianto's avatar
      Update README.md · 195fe22a
      Alex Fandrianto authored
      Added missing :
      195fe22a
    • Hans Muller's avatar
      The IgnorePointer class enables one to cut a widget subtree off from pointer... · d2d9ae13
      Hans Muller authored
      The IgnorePointer class enables one to cut a widget subtree off from pointer events. This is useful when a sibling should not shield pointer events from overlapping siblings below it.
      
      Added a ScrollListener listener to Scrollable. The ScrollListener runs each time the Scrollable's scrollOffset changes. This can be used to keep overlay widgets in sync with a Scrollable below them.
      
      Removed the Scrollable ScrollClient API. It was no longer used and was clumsy to use as a ScrollListener.
      
      Added global function findScrollableAncestor() to scrollable.dart.
      
      Added examples/widgets/overlay_geometry.dart. The app's Scaffold is contained by a Stack. The Stack is used to display green overlay "Markers" at the corners of the most recently selected list item and where the corresponding tap occurred. The app uses widget.localToGlobal() to compute the global overlay positions of the markers. The ScrollListener is used to keep the markers' positions up to date.
      d2d9ae13
    • Adam Barth's avatar
      Use ImageResource instead of Future<sky.Image> · 9f228349
      Adam Barth authored
      Using ImageResource solves two problems:
      
      1) Listeners can be notified synchronously when the sky.Image is already
         available. This change removes flash of 0x0 layout when moving an
         already-cached image around in the render tree.
      
      2) In the future, when we support animated images, we can notify listeners
         multiple times whenever a new image is available.
      9f228349
  6. 10 Aug, 2015 2 commits
  7. 08 Aug, 2015 1 commit
    • Adam Barth's avatar
      Remove the flicker from MimicOverlay · bcd0d8fe
      Adam Barth authored
      There were two problems:
      
      1) When starting the mimic, we put up a bad frame because although we set the
         `begin` value of the animation, we were building using the current `value`,
         which hadn't been updated.
      
      2) When stoping the mimic, we'd dirty a component during didUnmount, which
         wouldn't get cleaned until the next frame. Now we're sure to clean all the
         components before leaving flushBuild.
      bcd0d8fe
  8. 07 Aug, 2015 7 commits
  9. 06 Aug, 2015 4 commits
  10. 05 Aug, 2015 3 commits