<p dir="auto">Firebase Auth sendPasswordReset does not handle errors correctly when the email address does not exist. I receive this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="W/BiChannelGoogleApi(15859): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@135ff7f
W/DynamiteModule(15859): Local module descriptor class for com.google.firebase.auth not found.
I/FirebaseAuth(15859): [FirebaseAuth:] Loading module via FirebaseOptions.
I/FirebaseAuth(15859): [FirebaseAuth:] Preparing to create service connection to gms implementation
E/flutter (15859): [ERROR:flutter/shell/common/shell.cc(182)] Dart Error: Unhandled exception:
E/flutter (15859): 'dart:async/future_impl.dart': Failed assertion: line 146: '&lt;optimized out&gt;': is not true.
E/flutter (15859): #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart:40:39)
E/flutter (15859): #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart:36:5)
E/flutter (15859): #2      _FutureListener.handleError (dart:async/future_impl.dart:146:14)
E/flutter (15859): #3      Future._propagateToListeners.handleError (dart:async/future_impl.dart:654:47)
E/flutter (15859): #4      Future._propagateToListeners (dart:async/future_impl.dart:675:24)
E/flutter (15859): #5      Future._completeError (dart:async/future_impl.dart:494:5)
E/flutter (15859): #6      _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)
E/flutter (15859): #7      _Completer.completeError (dart:async/future_impl.dart:27:5)
E/flutter (15859): #8      _AsyncAwaitCompleter.completeError (dart:async/runtime/libasync_patch.dart:40:18)
E/flutter (15859): #9      FirebaseAuth.sendPasswordResetEmail (package:firebase_auth/firebase_auth.dart)
E/flutter (15859): &lt;asynchronous suspension&gt;
E/flutter (15859): #10     Auth.forgotPassword (file:///Volumes/drive/Flutter_Apps/flutter_crushn/lib/models/auth.dart:38:25)
E/flutter (15859): &lt;asynchronous suspension&gt;
E/flutter (15859): #11     _LoginState.forgotPasswordPressed (file:///Volumes/drive/Flutter_Apps/flutter_crushn/lib/pages/login.dart:382:42)
E/flutter (15859): &lt;asynchronous suspension&gt;
E/flutter (15859): #12     _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
E/flutter (15859): #13     _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
E/flutter (15859): #14     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
E/flutter (15859): #15     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
E/flutter (15859): #16     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
E/flutter (15859): #17     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter (15859): #18     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20)
E/flutter (15859): #19     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
E/flutter (15859): #20     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
E/flutter (15859): #21     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
E/flutter (15859): #22     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
E/flutter (15859): #23     _invoke1 (dart:ui/hooks.dart:153:13)
E/flutter (15859): #24     _dispatchPointerDataPacket (dart:ui/hooks.dart:107:5)"><pre class="notranslate"><code class="notranslate">W/BiChannelGoogleApi(15859): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@135ff7f
W/DynamiteModule(15859): Local module descriptor class for com.google.firebase.auth not found.
I/FirebaseAuth(15859): [FirebaseAuth:] Loading module via FirebaseOptions.
I/FirebaseAuth(15859): [FirebaseAuth:] Preparing to create service connection to gms implementation
E/flutter (15859): [ERROR:flutter/shell/common/shell.cc(182)] Dart Error: Unhandled exception:
E/flutter (15859): 'dart:async/future_impl.dart': Failed assertion: line 146: '&lt;optimized out&gt;': is not true.
E/flutter (15859): #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart:40:39)
E/flutter (15859): #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart:36:5)
E/flutter (15859): #2      _FutureListener.handleError (dart:async/future_impl.dart:146:14)
E/flutter (15859): #3      Future._propagateToListeners.handleError (dart:async/future_impl.dart:654:47)
E/flutter (15859): #4      Future._propagateToListeners (dart:async/future_impl.dart:675:24)
E/flutter (15859): #5      Future._completeError (dart:async/future_impl.dart:494:5)
E/flutter (15859): #6      _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)
E/flutter (15859): #7      _Completer.completeError (dart:async/future_impl.dart:27:5)
E/flutter (15859): #8      _AsyncAwaitCompleter.completeError (dart:async/runtime/libasync_patch.dart:40:18)
E/flutter (15859): #9      FirebaseAuth.sendPasswordResetEmail (package:firebase_auth/firebase_auth.dart)
E/flutter (15859): &lt;asynchronous suspension&gt;
E/flutter (15859): #10     Auth.forgotPassword (file:///Volumes/drive/Flutter_Apps/flutter_crushn/lib/models/auth.dart:38:25)
E/flutter (15859): &lt;asynchronous suspension&gt;
E/flutter (15859): #11     _LoginState.forgotPasswordPressed (file:///Volumes/drive/Flutter_Apps/flutter_crushn/lib/pages/login.dart:382:42)
E/flutter (15859): &lt;asynchronous suspension&gt;
E/flutter (15859): #12     _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
E/flutter (15859): #13     _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
E/flutter (15859): #14     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
E/flutter (15859): #15     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
E/flutter (15859): #16     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
E/flutter (15859): #17     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter (15859): #18     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20)
E/flutter (15859): #19     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
E/flutter (15859): #20     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
E/flutter (15859): #21     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
E/flutter (15859): #22     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
E/flutter (15859): #23     _invoke1 (dart:ui/hooks.dart:153:13)
E/flutter (15859): #24     _dispatchPointerDataPacket (dart:ui/hooks.dart:107:5)
</code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">flutter 0.5.1</p>
<ol dir="auto">
<li>a form in AnimatedSize</li>
<li>Tap any textfield</li>
<li>keyboard show up with a white padding to overlap all widget<br>
similar issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="280742796" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/13475" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/13475/hovercard" href="https://github.com/flutter/flutter/issues/13475">#13475</a></li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/42162609/43753338-cb36b94c-9a37-11e8-9ca0-5d035c0758ef.gif"><img src="https://user-images.githubusercontent.com/42162609/43753338-cb36b94c-9a37-11e8-9ca0-5d035c0758ef.gif" alt="ezgif-3-ae5a51c278" data-animated-image="" style="max-width: 100%;"></a></p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new AnimatedSize(
vsync: this,
duration: const Duration(milliseconds: 200),
 new Form(
    // some text field
 ))"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-c1">AnimatedSize</span>(
vsync<span class="pl-k">:</span> <span class="pl-c1">this</span>,
duration<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Duration</span>(milliseconds<span class="pl-k">:</span> <span class="pl-c1">200</span>),
 <span class="pl-k">new</span> <span class="pl-c1">Form</span>(
    <span class="pl-c">// some text field</span>
 ))</pre></div>
<h2 dir="auto">Logs</h2>
<p dir="auto">No exception.</p>