Issue 1:
Steps to Reproduce

Test code:

test('swipes', () async {
SerializableFinder body = await find.byValueKey('body');
await new Future<Null>.delayed(new Duration(milliseconds: 500));
await findTab1Content();
await driver.scroll(body, -200.0, 0.0, new Duration(milliseconds: 200));
await new Future<Null>.delayed(new Duration(milliseconds: 500));
await findTab2Content();
await driver.scroll(body, -200.0, 0.0, new Duration(milliseconds: 200));
await new Future<Null>.delayed(new Duration(milliseconds: 500));
await findTab3Content();
await driver.scroll(body, 200.0, 0.0, new Duration(milliseconds: 200));
await new Future<Null>.delayed(new Duration(milliseconds: 500));
await findTab2Content();
await driver.scroll(body, 200.0, 0.0, new Duration(milliseconds: 200));
await findTab1Content();
});

With the Future.delayed()... lines, the test runs successfully. Without those lines, the test fails. In the emulator running the test, it will swipe right twice to get to tab 3, then swipe left once back to tab 2, wait ~5 seconds, and then fail. The logs indicate that it fails to find content that lives on tab 3.

Flutter Doctor

[✓] Flutter (on Linux, channel alpha)

• Flutter at /usr/local/bin/flutter

• Framework revision cc93170 (2 weeks ago), engine revision 98f020f

[✓] Android toolchain - develop for Android devices (Android SDK 24.0.0-preview)

• Android SDK at /usr/dir/of/android-sdk-linux

• Platform android-N, build-tools 24.0.0-preview

• OpenJDK Runtime Environment

[✓] Atom - a lightweight development environment for Flutter

• Atom installed; Flutter plugin version 0.2.2

Logs and Crash Reports

Flutter logs:

--------- beginning of main --------- beginning of system I/flutter : Observatory listening on http://127.0.0.1:36085 I/flutter : Diagnostic server listening on http://127.0.0.1:48470 I/flutter : ══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞═════════════════════════════════════════════════════════ I/flutter : The following message was thrown during a service extension callback for "ext.flutter.driver": I/flutter : Timed out waiting for text "Text from Tab 3" I/flutter : When the exception was thrown, this was the stack: I/flutter : #0 FlutterDriverExtension.waitFor.<waitFor_async_body> (package:flutter_driver/src/extension.dart) I/flutter : #1 _asyncErrorWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:34) I/flutter : #2 _RootZone.runBinary (dart:async/zone.dart:1210) I/flutter : #3 _FutureListener.handleError (dart:async/future_impl.dart:146) I/flutter : #4 _Future._propagateToListeners.handleError (dart:async/future_impl.dart:640) I/flutter : #5 _Future._propagateToListeners (dart:async/future_impl.dart:662) I/flutter : #6 _Future._completeError (dart:async/future_impl.dart:476) I/flutter : #7 _Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:528) I/flutter : #8 _microtaskLoop (dart:async/schedule_microtask.dart:41) I/flutter : #9 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50) I/flutter : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Flutter driver output: go/flutter-crash-djshuckerow-5-25-16

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

Issue 2:
Steps to Reproduce

In the gallery app's "Tab" demo, drag half-way between two tabs and release. The tab widget will snap to the closest tab with an animated transition. During that transition the tab widget will not accept any drag gestures. You have to wait for the animation to complete. This is easy to reproduce in slow animation mode. The behavior is not consistent, you may need to try several times to see it, but it doesn't take long to reproduce.

Flutter Doctor

[✓] Flutter (on Mac OS, channel unknown)
• Flutter at /Users/yjbanov/code/flutter/flutter
• Framework revision 43dd9450af (3 months ago), engine revision 7fab0c350b

[✓] Android toolchain - develop for Android devices (Android SDK 22.0.1)
• Android SDK at /Users/yjbanov/code/android-sdk-macosx
• Platform android-22, build-tools 22.0.1
• Java(TM) SE Runtime Environment (build 1.8.0_65-b17)

[✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1)
• XCode at /Applications/Xcode.app/Contents/Developer
• Xcode 7.3.1, Build version 7D1014

[✓] Atom - a lightweight development environment for Flutter
• Atom installed; Flutter plugin version 0.2.2

/cc @HansMuller