<p dir="auto">I get this crash in the release version of the app and I can't find the cause since the stack trace apparently doesn't help this much</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="E/flutter ( 7686): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter ( 7686): TFA Error: #lib5::WebApiClient::loginWithEmailAndPassword
E/flutter ( 7686): #0      WebApiClient.loginWithEmailAndPassword (package:redux/data/web_api_client.dart:0)
E/flutter ( 7686): #1      AppRepository.loginWith (package:redux/data/app_repository.dart:52)
E/flutter ( 7686): &lt;asynchronous suspension&gt;
E/flutter ( 7686): #2      LoginMiddleware.handle (package:redux/middleware/login.dart:27)
E/flutter ( 7686): &lt;asynchronous suspension&gt;
E/flutter ( 7686): #3      MiddlewareBuilder.add.&lt;anonymous closure&gt; (package:built_redux/src/middleware.dart:37)
E/flutter ( 7686): #4      MiddlewareBuilder.build.&lt;anonymous closure&gt;.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:built_redux/src/middleware.dart:53)
E/flutter ( 7686): #5      ActionDispatcher.call (package:built_redux/src/action.dart:32)
E/flutter ( 7686): #6      new AuthViewModel.initialized.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:redux/containers/auth_connector.dart:29)
E/flutter ( 7686): #7      LoginButton.build.&lt;anonymous closure&gt;.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:redux/presentation/login/login_button.dart:45)
E/flutter ( 7686): #8      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:478)
E/flutter ( 7686): #9      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:530)
E/flutter ( 7686): #10     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102)
E/flutter ( 7686): #11     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:161)
E/flutter ( 7686): #12     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:123)
E/flutter ( 7686): #13     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156)
E/flutter ( 7686): #14     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147)
E/flutter ( 7686): #15     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121)
E/flutter ( 7686): #16     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101)
E/flutter ( 7686): #17     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64)
E/flutter ( 7686): #18     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48)
E/flutter ( 7686): #19     _invoke1 (dart:ui/hooks.dart:134)
E/flutter ( 7686): #20     _dispatchPointerDataPacket (dart:ui/hooks.dart:91)"><pre class="notranslate"><code class="notranslate">E/flutter ( 7686): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter ( 7686): TFA Error: #lib5::WebApiClient::loginWithEmailAndPassword
E/flutter ( 7686): #0      WebApiClient.loginWithEmailAndPassword (package:redux/data/web_api_client.dart:0)
E/flutter ( 7686): #1      AppRepository.loginWith (package:redux/data/app_repository.dart:52)
E/flutter ( 7686): &lt;asynchronous suspension&gt;
E/flutter ( 7686): #2      LoginMiddleware.handle (package:redux/middleware/login.dart:27)
E/flutter ( 7686): &lt;asynchronous suspension&gt;
E/flutter ( 7686): #3      MiddlewareBuilder.add.&lt;anonymous closure&gt; (package:built_redux/src/middleware.dart:37)
E/flutter ( 7686): #4      MiddlewareBuilder.build.&lt;anonymous closure&gt;.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:built_redux/src/middleware.dart:53)
E/flutter ( 7686): #5      ActionDispatcher.call (package:built_redux/src/action.dart:32)
E/flutter ( 7686): #6      new AuthViewModel.initialized.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:redux/containers/auth_connector.dart:29)
E/flutter ( 7686): #7      LoginButton.build.&lt;anonymous closure&gt;.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:redux/presentation/login/login_button.dart:45)
E/flutter ( 7686): #8      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:478)
E/flutter ( 7686): #9      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:530)
E/flutter ( 7686): #10     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102)
E/flutter ( 7686): #11     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:161)
E/flutter ( 7686): #12     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:123)
E/flutter ( 7686): #13     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156)
E/flutter ( 7686): #14     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147)
E/flutter ( 7686): #15     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121)
E/flutter ( 7686): #16     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101)
E/flutter ( 7686): #17     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64)
E/flutter ( 7686): #18     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48)
E/flutter ( 7686): #19     _invoke1 (dart:ui/hooks.dart:134)
E/flutter ( 7686): #20     _dispatchPointerDataPacket (dart:ui/hooks.dart:91)
</code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(dart2) $ flutter run --release
Initializing gradle...                                       0.8s
Resolving dependencies...                                    1.5s
Launching lib/main.dart on Pixel XL in release mode...
Running 'gradlew assembleRelease'...                             
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:20:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'en_short': en_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:21:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es': es.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:22:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es_short': es_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:23:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'fr': fr.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:24:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'ja': ja.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:25:18: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh_CN': zh_cn.loadLibrary,
compiler message:                  ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:26:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh': zh.loadLibrary
compiler message:            ^
Built build/app/outputs/apk/release/app-release.apk (14.5MB).
Installing build/app/outputs/apk/app.apk...                 10.9s

To repeat this help message, press &quot;h&quot;. To quit, press &quot;q&quot;.
I/FlutterActivityDelegate(17171): onResume setting current activity to this"><pre class="notranslate"><code class="notranslate">(dart2) $ flutter run --release
Initializing gradle...                                       0.8s
Resolving dependencies...                                    1.5s
Launching lib/main.dart on Pixel XL in release mode...
Running 'gradlew assembleRelease'...                             
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:20:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'en_short': en_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:21:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es': es.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:22:24: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'es_short': es_short.loadLibrary,
compiler message:                        ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:23:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'fr': fr.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:24:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'ja': ja.loadLibrary,
compiler message:            ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:25:18: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh_CN': zh_cn.loadLibrary,
compiler message:                  ^
compiler message: file:///Users/zoechi/dart/customers/lookatyou/lookatmybaby/timeago.dart/lib/src/i18/messages_all.dart:26:12: Error: The top level function has type '() → dynamic' that isn't of expected type '() → dart.async::Fute&lt;dynamic&gt;'.
compiler message: Change the type of the function or the context in which it is used.
compiler message:   'zh': zh.loadLibrary
compiler message:            ^
Built build/app/outputs/apk/release/app-release.apk (14.5MB).
Installing build/app/outputs/apk/app.apk...                 10.9s

To repeat this help message, press "h". To quit, press "q".
I/FlutterActivityDelegate(17171): onResume setting current activity to this
</code></pre></div>
<p dir="auto">The intl errors are reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="306811625" data-permission-text="Title is private" data-url="https://github.com/dart-lang/sdk/issues/32604" data-hovercard-type="issue" data-hovercard-url="/dart-lang/sdk/issues/32604/hovercard" href="https://github.com/dart-lang/sdk/issues/32604">dart-lang/sdk#32604</a>, but they don't cause issues in debug mode</p>
<h2 dir="auto">Logs</h2>
<p dir="auto">Run your application with <code class="notranslate">flutter run</code> and attach all the log output.</p>
<p dir="auto">Run <code class="notranslate">flutter analyze</code> and attach any output of that command also.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(dart2) $ flutter doctor -v
[✓] Flutter (Channel dev, v0.2.2-pre.7, on Mac OS X 10.13.3 17D102, locale en-AT)
    • Flutter version 0.2.2-pre.7 at /Users/zoechi/flutter/flutter
    • Framework revision c0d1eb7513 (2 hours ago), 2018-04-03 12:52:53 +0200
    • Engine revision c903c217a1
    • Dart version 2.0.0-dev.43.0.flutter-52afcba357

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /usr/local/opt/android-sdk
    • Android NDK at /usr/local/opt/android-sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /usr/local/opt/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4548.30

[✓] Connected devices (1 available)
    • Pixel XL • HT69V0203649 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!"><pre class="notranslate"><code class="notranslate">(dart2) $ flutter doctor -v
[✓] Flutter (Channel dev, v0.2.2-pre.7, on Mac OS X 10.13.3 17D102, locale en-AT)
    • Flutter version 0.2.2-pre.7 at /Users/zoechi/flutter/flutter
    • Framework revision c0d1eb7513 (2 hours ago), 2018-04-03 12:52:53 +0200
    • Engine revision c903c217a1
    • Dart version 2.0.0-dev.43.0.flutter-52afcba357

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /usr/local/opt/android-sdk
    • Android NDK at /usr/local/opt/android-sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /usr/local/opt/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4548.30

[✓] Connected devices (1 available)
    • Pixel XL • HT69V0203649 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!
</code></pre></div>
<blockquote>
<p dir="auto">For more information about diagnosing and reporting Flutter bugs, please see <a href="https://flutter.io/bug-reports/" rel="nofollow">https://flutter.io/bug-reports/</a>.</p>
</blockquote>