<p dir="auto">It would be awesome if flutter had support for the YouTube api. Right now I am using a webview to show the player in an iframe. Is it possible to implement a flutter plugin for YouTube api? I never developed for Android and iOS, just web development. Also I am new to flutter.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I am following along with this section of the tutorial: <a href="https://codelabs.developers.google.com/codelabs/flutter-firebase/#5" rel="nofollow">https://codelabs.developers.google.com/codelabs/flutter-firebase/#5</a></p>
<p dir="auto">Repro:</p>
<ol dir="auto">
<li>Run the flutter app (on my device via flutter run -d )</li>
<li>Type a message</li>
<li>Hit send</li>
<li>App does not add message to the List of messages and instead fails with the logged output below.</li>
</ol>
<p dir="auto">If the problem is with your application's rendering, please attach a screenshot and any relevant source code.<br>
<code class="notranslate">Not Applicable</code><br>
If you are getting an exception in the logs, and your code is implicated in the first few frames, then please include the source code for the functions involved.<br>
<code class="notranslate">Not Applicable</code></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>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type '_Future' is not a subtype of type 'Future&lt;Null&gt;' where
  _Future is from dart:async
  Future is from dart:async
  Null is from dart:core

#0      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart)
&lt;asynchronous suspension&gt;
#1      GoogleSignIn._addMethodCall.&lt;anonymous closure&gt; (package:google_sign_in/google_sign_in.dart:196:28)
#2      _RootZone.run (dart:async/zone.dart:1376:54)
#3      _FutureListener.handleWhenComplete (dart:async/future_impl.dart:151:18)
#4      _Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:603:39)
#5      _Future._propagateToListeners (dart:async/future_impl.dart:659:37)
#6      _Future._addListener.&lt;anonymous closure&gt; (dart:async/future_impl.dart:342:9)
#7      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)"><pre class="notranslate"><code class="notranslate">[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type '_Future' is not a subtype of type 'Future&lt;Null&gt;' where
  _Future is from dart:async
  Future is from dart:async
  Null is from dart:core

#0      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart)
&lt;asynchronous suspension&gt;
#1      GoogleSignIn._addMethodCall.&lt;anonymous closure&gt; (package:google_sign_in/google_sign_in.dart:196:28)
#2      _RootZone.run (dart:async/zone.dart:1376:54)
#3      _FutureListener.handleWhenComplete (dart:async/future_impl.dart:151:18)
#4      _Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:603:39)
#5      _Future._propagateToListeners (dart:async/future_impl.dart:659:37)
#6      _Future._addListener.&lt;anonymous closure&gt; (dart:async/future_impl.dart:342:9)
#7      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
</code></pre></div>
<p dir="auto">Run <code class="notranslate">flutter analyze</code> and attach any output of that command also.<br>
<code class="notranslate">➜  whatschat git:(master) ✗ flutter analyze Analyzing /Users/calvinnguyen/safezone/projects/mobile/flutter/whatschat... No issues found! Ran in 5.3s</code></p>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">Paste the output of running <code class="notranslate">flutter doctor -v</code> here.<br>
`<br>
➜  whatschat git:(master) ✗ flutter doctor -v<br>
[✓] Flutter (Channel dev, v0.2.4, on Mac OS X 10.13.3 17D102, locale en-US)<br>
• Flutter version 0.2.4 at /usr/local/Cellar/google-flutter/flutter<br>
• Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8/hovercard" href="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8"><tt>3352a3f</tt></a> (3 weeks ago), 2018-03-20 19:30:06 +0100<br>
• Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3/hovercard" href="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3"><tt>6280adb</tt></a><br>
• Dart version 2.0.0-dev.39.0.flutter-06949dc985</p>
<p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)<br>
• Android SDK at /Users/calvinnguyen/Library/Android/sdk<br>
• Android NDK location not configured (optional; useful for native profiling support)<br>
• Platform android-27, build-tools 27.0.3<br>
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)<br>
• All Android licenses accepted.</p>
<p dir="auto">[!] iOS toolchain - develop for iOS devices (Xcode 9.2)<br>
• Xcode at /Applications/Xcode.app/Contents/Developer<br>
• Xcode 9.2, Build version 9C40b<br>
✗ Verify that all connected devices have been paired with this computer in Xcode.<br>
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.<br>
To update, run:<br>
brew uninstall --ignore-dependencies libimobiledevice<br>
brew install --HEAD libimobiledevice<br>
brew install ideviceinstaller<br>
• ios-deploy 1.9.2<br>
• CocoaPods version 1.4.0</p>
<p dir="auto">[✓] Android Studio (version 3.1)<br>
• Android Studio at /Applications/Android Studio.app/Contents<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)</p>
<p dir="auto">[✓] VS Code (version 1.21.1)<br>
• VS Code at /Applications/Visual Studio Code.app/Contents<br>
• Dart Code extension version 2.11.1</p>
<p dir="auto">[✓] Connected devices (3 available)<br>
• Android SDK built for x86 • emulator-5554                            • android-x86 • Android 8.1.0 (API 27) (emulator)<br>
• CALVIN’s iPhone X         • 59a045705b5301f9f931d1731b52997e48305a4a • ios         • iOS 11.3<br>
• iPhone 5s                 • 3EA133DB-9AE9-4B42-86C7-06B818C50C51     • ios         • iOS 11.2 (simulator)</p>
<p dir="auto">! Doctor found issues in 1 category.<br>
`<br>
➜  whatschat git:(master) ✗ flutter doctor -v<br>
[✓] Flutter (Channel dev, v0.2.4, on Mac OS X 10.13.3 17D102, locale en-US)<br>
• Flutter version 0.2.4 at /usr/local/Cellar/google-flutter/flutter<br>
• Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8/hovercard" href="https://github.com/flutter/flutter/commit/3352a3fb488df4742ff323243d3dc44d9b7cd3e8"><tt>3352a3f</tt></a> (3 weeks ago), 2018-03-20 19:30:06 +0100<br>
• Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3/hovercard" href="https://github.com/flutter/flutter/commit/6280adbfb1f9f63cdc6179b9b78634add1e4f2e3"><tt>6280adb</tt></a><br>
• Dart version 2.0.0-dev.39.0.flutter-06949dc985</p>
<p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)<br>
• Android SDK at /Users/calvinnguyen/Library/Android/sdk<br>
• Android NDK location not configured (optional; useful for native profiling support)<br>
• Platform android-27, build-tools 27.0.3<br>
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)<br>
• All Android licenses accepted.</p>
<p dir="auto">[!] iOS toolchain - develop for iOS devices (Xcode 9.2)<br>
• Xcode at /Applications/Xcode.app/Contents/Developer<br>
• Xcode 9.2, Build version 9C40b<br>
✗ Verify that all connected devices have been paired with this computer in Xcode.<br>
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.<br>
To update, run:<br>
brew uninstall --ignore-dependencies libimobiledevice<br>
brew install --HEAD libimobiledevice<br>
brew install ideviceinstaller<br>
• ios-deploy 1.9.2<br>
• CocoaPods version 1.4.0</p>
<p dir="auto">[✓] Android Studio (version 3.1)<br>
• Android Studio at /Applications/Android Studio.app/Contents<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)</p>
<p dir="auto">[✓] VS Code (version 1.21.1)<br>
• VS Code at /Applications/Visual Studio Code.app/Contents<br>
• Dart Code extension version 2.11.1</p>
<p dir="auto">[✓] Connected devices (3 available)<br>
• Android SDK built for x86 • emulator-5554                            • android-x86 • Android 8.1.0 (API 27) (emulator)<br>
• CALVIN’s iPhone X         • 59a045705b5301f9f931d1731b52997e48305a4a • ios         • iOS 11.3<br>
• iPhone 5s                 • 3EA133DB-9AE9-4B42-86C7-06B818C50C51     • ios         • iOS 11.2 (simulator)</p>
<p dir="auto">! Doctor found issues in 1 category.<br>
➜  whatschat git:(master) ✗ A<br>
`</p>
<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>