<p dir="auto">Hi,</p>
<p dir="auto">I'm new to flutter. I just installed flutter on windows 10 pro, and runned 'flutter doctor'. It is exiting unexpectedly. When running in verbose mode the output is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="c:\Tools&gt;flutter doctor -v
[  +13 ms] [C:\Tools\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +71 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/alpha
[   +1 ms] [C:\Tools\flutter\] git rev-parse --abbrev-ref HEAD
[  +51 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] alpha
[   +1 ms] [C:\Tools\flutter\] git ls-remote --get-url origin
[  +49 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[   +1 ms] [C:\Tools\flutter\] git log -n 1 --pretty=format:%H
[  +53 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[   +1 ms] d957c8f040902aa3fd44b367150bde56b64cec83
[   +1 ms] [C:\Tools\flutter\] git log -n 1 --pretty=format:%ar
[  +50 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[   +1 ms] 4 days ago
[ +205 ms] Unable to locate an Android SDK.
[  +39 ms] Downloading Material fonts...
[   +6 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/fonts/13ac995daa9dda0a6ba0a45f1fccc541e616a74c/fonts.zip
[ +209 ms] Received response from server, collecting bytes...
[ +606 ms] Downloading package sky_engine...
[   +2 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/sky_engine.zip
[ +242 ms] Received response from server, collecting bytes...
[ +513 ms] Downloading common tools...
[   +2 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/flutter_patched_sdk.zip
[ +385 ms] Received response from server, collecting bytes...
[+1491 ms] Downloading windows-x64 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/windows-x64/artifacts.zip
[ +451 ms] Received response from server, collecting bytes...
[ +458 ms] Downloading windows-x64 tools...
[   +2 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/dart-sdk-windows-x64.zip
[ +513 ms] Received response from server, collecting bytes...
[+7390 ms] Downloading android-arm-profile/windows-x64 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-profile/windows-x64.zip
[ +501 ms] Received response from server, collecting bytes...
[ +586 ms] Downloading android-arm-release/windows-x64 tools...
[   +3 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-release/windows-x64.zip
[ +615 ms] Received response from server, collecting bytes...
[ +560 ms] Downloading android-x86 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-x86/artifacts.zip
[ +464 ms] Received response from server, collecting bytes...
[+2568 ms] Downloading android-x64 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-x64/artifacts.zip
[ +417 ms] Received response from server, collecting bytes...
[+2451 ms] Downloading android-arm tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm/artifacts.zip
[ +823 ms] Received response from server, collecting bytes...
[+1122 ms] Downloading android-arm-profile tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-profile/artifacts.zip
[ +395 ms] Received response from server, collecting bytes...
[+1039 ms] Downloading android-arm-release tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-release/artifacts.zip
[ +240 ms] Received response from server, collecting bytes...
[+1273 ms] Downloading Gradle Wrapper...
[   +2 ms] Downloading: https://android.googlesource.com/platform/tools/base/+archive/0b5c1398d1d04ac245a310de98825cb7b3278e2a/templates/gradle/wrapper.tgz
[ +905 ms] Received response from server, collecting bytes...
[ +976 ms] [√] Flutter (on Microsoft Windows [Version 10.0.15063], locale fo-FO, channel alpha)
[   +1 ms]     • Flutter at C:\Tools\flutter
[        ]     • Framework revision d957c8f040 (4 days ago), 2017-11-30 13:29:59 -0800
[        ]     • Engine revision 77d8acb9be
[        ]     • Tools Dart version 1.25.0-dev.11.0
[        ]     • Engine Dart version 2.0.0-dev.9.0
[   +1 ms] [X] Android toolchain - develop for Android devices
[        ]     X Unable to locate Android SDK.
                 Install Android Studio from: https://developer.android.com/studio/index.html
                 On first launch it will assist you in installing the Android SDK components.
                 (or visit https://flutter.io/setup/#android-setup for detailed instructions).
                 If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.
[        ] [X] Android Studio (not installed)
[        ]     • Android Studio not found; download from https://developer.android.com/studio/index.html
                 (or visit https://flutter.io/setup/#android-setup for detailed instructions).
[ +151 ms] Unable to locate an Android SDK.
[  +73 ms] Listing devices using null
[   +1 ms] [√] Connected devices
[        ]     • None

Oops; flutter has exited unexpectedly.
[  +23 ms] Sending crash report to Google.
[ +735 ms] Crash report sent (report ID: de3b1ae01245ec73)
Crash report written to c:\Tools\flutter_02.log;
please let us know at https://github.com/flutter/flutter/issues.
[ +293 ms] ensureAnalyticsSent: 0ms
[   +1 ms] exiting with code 1

The log file contains this:
Flutter crash report; please file at https://github.com/flutter/flutter/issues."><pre class="notranslate"><code class="notranslate">c:\Tools&gt;flutter doctor -v
[  +13 ms] [C:\Tools\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +71 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/alpha
[   +1 ms] [C:\Tools\flutter\] git rev-parse --abbrev-ref HEAD
[  +51 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] alpha
[   +1 ms] [C:\Tools\flutter\] git ls-remote --get-url origin
[  +49 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[   +1 ms] [C:\Tools\flutter\] git log -n 1 --pretty=format:%H
[  +53 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[   +1 ms] d957c8f040902aa3fd44b367150bde56b64cec83
[   +1 ms] [C:\Tools\flutter\] git log -n 1 --pretty=format:%ar
[  +50 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[   +1 ms] 4 days ago
[ +205 ms] Unable to locate an Android SDK.
[  +39 ms] Downloading Material fonts...
[   +6 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/fonts/13ac995daa9dda0a6ba0a45f1fccc541e616a74c/fonts.zip
[ +209 ms] Received response from server, collecting bytes...
[ +606 ms] Downloading package sky_engine...
[   +2 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/sky_engine.zip
[ +242 ms] Received response from server, collecting bytes...
[ +513 ms] Downloading common tools...
[   +2 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/flutter_patched_sdk.zip
[ +385 ms] Received response from server, collecting bytes...
[+1491 ms] Downloading windows-x64 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/windows-x64/artifacts.zip
[ +451 ms] Received response from server, collecting bytes...
[ +458 ms] Downloading windows-x64 tools...
[   +2 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/dart-sdk-windows-x64.zip
[ +513 ms] Received response from server, collecting bytes...
[+7390 ms] Downloading android-arm-profile/windows-x64 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-profile/windows-x64.zip
[ +501 ms] Received response from server, collecting bytes...
[ +586 ms] Downloading android-arm-release/windows-x64 tools...
[   +3 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-release/windows-x64.zip
[ +615 ms] Received response from server, collecting bytes...
[ +560 ms] Downloading android-x86 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-x86/artifacts.zip
[ +464 ms] Received response from server, collecting bytes...
[+2568 ms] Downloading android-x64 tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-x64/artifacts.zip
[ +417 ms] Received response from server, collecting bytes...
[+2451 ms] Downloading android-arm tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm/artifacts.zip
[ +823 ms] Received response from server, collecting bytes...
[+1122 ms] Downloading android-arm-profile tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-profile/artifacts.zip
[ +395 ms] Received response from server, collecting bytes...
[+1039 ms] Downloading android-arm-release tools...
[   +1 ms] Downloading: https://storage.googleapis.com/flutter_infra/flutter/77d8acb9be65e6725c7c4292fe2e3b1159c0aeb9/android-arm-release/artifacts.zip
[ +240 ms] Received response from server, collecting bytes...
[+1273 ms] Downloading Gradle Wrapper...
[   +2 ms] Downloading: https://android.googlesource.com/platform/tools/base/+archive/0b5c1398d1d04ac245a310de98825cb7b3278e2a/templates/gradle/wrapper.tgz
[ +905 ms] Received response from server, collecting bytes...
[ +976 ms] [√] Flutter (on Microsoft Windows [Version 10.0.15063], locale fo-FO, channel alpha)
[   +1 ms]     • Flutter at C:\Tools\flutter
[        ]     • Framework revision d957c8f040 (4 days ago), 2017-11-30 13:29:59 -0800
[        ]     • Engine revision 77d8acb9be
[        ]     • Tools Dart version 1.25.0-dev.11.0
[        ]     • Engine Dart version 2.0.0-dev.9.0
[   +1 ms] [X] Android toolchain - develop for Android devices
[        ]     X Unable to locate Android SDK.
                 Install Android Studio from: https://developer.android.com/studio/index.html
                 On first launch it will assist you in installing the Android SDK components.
                 (or visit https://flutter.io/setup/#android-setup for detailed instructions).
                 If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.
[        ] [X] Android Studio (not installed)
[        ]     • Android Studio not found; download from https://developer.android.com/studio/index.html
                 (or visit https://flutter.io/setup/#android-setup for detailed instructions).
[ +151 ms] Unable to locate an Android SDK.
[  +73 ms] Listing devices using null
[   +1 ms] [√] Connected devices
[        ]     • None

Oops; flutter has exited unexpectedly.
[  +23 ms] Sending crash report to Google.
[ +735 ms] Crash report sent (report ID: de3b1ae01245ec73)
Crash report written to c:\Tools\flutter_02.log;
please let us know at https://github.com/flutter/flutter/issues.
[ +293 ms] ensureAnalyticsSent: 0ms
[   +1 ms] exiting with code 1

The log file contains this:
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
</code></pre></div>
<h2 dir="auto">command</h2>
<p dir="auto">flutter doctor -v</p>
<h2 dir="auto">exception</h2>
<p dir="auto">ArgumentError: Invalid argument(s): Invalid locale 'fo_FO'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0      Intl._throwLocaleError (package:intl/intl.dart:231)
#1      Intl.verifiedLocale (package:intl/intl.dart:225)
#2      Intl.verifiedLocale (package:intl/intl.dart:210)
#3      new NumberFormat._forPattern (package:intl/src/intl/number_format.dart:486)
#4      new NumberFormat.decimalPattern (package:intl/src/intl/number_format.dart:175)
#5      kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97)
#6      kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97)
#7      getElapsedAsMilliseconds (package:flutter_tools/src/base/utils.dart:105)
#8      FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:202)
&lt;asynchronous suspension&gt;
#9      CommandRunner.runCommand (package:args/command_runner.dart:194)
&lt;asynchronous suspension&gt;
#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:279)
&lt;asynchronous suspension&gt;
#11     CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109)
#12     new Future.sync (dart:async/future.dart:222)
#13     CommandRunner.run (package:args/command_runner.dart:109)
#14     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:162)
#15     run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:89)
&lt;asynchronous suspension&gt;
#16     AppContext._run (package:flutter_tools/src/base/context.dart:76)
&lt;asynchronous suspension&gt;
#17     AppContext.runInZone.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:66)
#18     _rootRun (dart:async/zone.dart:1120)
#19     _CustomZone.run (dart:async/zone.dart:1001)
#20     runZoned (dart:async/zone.dart:1467)
#21     AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)
#22     run (package:flutter_tools/runner.dart:60)
&lt;asynchronous suspension&gt;
#23     main (package:flutter_tools/executable.dart:43)
&lt;asynchronous suspension&gt;
#24     main (file:///C:/Tools/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#25     _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/isolate_patch.dart:263)
#26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)"><pre class="notranslate"><code class="notranslate">#0      Intl._throwLocaleError (package:intl/intl.dart:231)
#1      Intl.verifiedLocale (package:intl/intl.dart:225)
#2      Intl.verifiedLocale (package:intl/intl.dart:210)
#3      new NumberFormat._forPattern (package:intl/src/intl/number_format.dart:486)
#4      new NumberFormat.decimalPattern (package:intl/src/intl/number_format.dart:175)
#5      kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97)
#6      kMillisecondsFormat (package:flutter_tools/src/base/utils.dart:97)
#7      getElapsedAsMilliseconds (package:flutter_tools/src/base/utils.dart:105)
#8      FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:202)
&lt;asynchronous suspension&gt;
#9      CommandRunner.runCommand (package:args/command_runner.dart:194)
&lt;asynchronous suspension&gt;
#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:279)
&lt;asynchronous suspension&gt;
#11     CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109)
#12     new Future.sync (dart:async/future.dart:222)
#13     CommandRunner.run (package:args/command_runner.dart:109)
#14     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:162)
#15     run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:89)
&lt;asynchronous suspension&gt;
#16     AppContext._run (package:flutter_tools/src/base/context.dart:76)
&lt;asynchronous suspension&gt;
#17     AppContext.runInZone.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:66)
#18     _rootRun (dart:async/zone.dart:1120)
#19     _CustomZone.run (dart:async/zone.dart:1001)
#20     runZoned (dart:async/zone.dart:1467)
#21     AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)
#22     run (package:flutter_tools/runner.dart:60)
&lt;asynchronous suspension&gt;
#23     main (package:flutter_tools/executable.dart:43)
&lt;asynchronous suspension&gt;
#24     main (file:///C:/Tools/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#25     _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/isolate_patch.dart:263)
#26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
</code></pre></div>
<h2 dir="auto">flutter doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Microsoft Windows [Version 10.0.15063], locale fo-FO, channel alpha)
    • Flutter at C:\Tools\flutter
    • Framework revision d957c8f040 (4 days ago), 2017-11-30 13:29:59 -0800
    • Engine revision 77d8acb9be
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-dev.9.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] Connected devices
    • None
"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Microsoft Windows [Version 10.0.15063], locale fo-FO, channel alpha)
    • Flutter at C:\Tools\flutter
    • Framework revision d957c8f040 (4 days ago), 2017-11-30 13:29:59 -0800
    • Engine revision 77d8acb9be
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-dev.9.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] Connected devices
    • None

</code></pre></div>
<p dir="auto">What is wrong?</p>
<p dir="auto">Internal: b/155674981</p>
<p dir="auto">When I use <code class="notranslate">GestureDetector</code> and put <code class="notranslate">behavior</code> = <code class="notranslate">translucent</code>, I cannot tap on anything bellow it. Also when I use <code class="notranslate">GestureDetector</code> and put behavior lets say <code class="notranslate">opaque</code> and have <code class="notranslate">RawMaterialButton</code> as a <code class="notranslate">child</code>, taps on button are registered on <code class="notranslate">Button</code> but not on <code class="notranslate">GestureDetector</code> and expected behavior in this case would be that taps do not pass to the child.<br>
Example:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';

void main() =&gt; runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      home: new MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() =&gt; new _MyHomePageState();
}

class _MyHomePageState extends State&lt;MyHomePage&gt; {

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      body: new Stack(
        children: &lt;Widget&gt;[
          new Positioned(
            left: 0.0,
            right: 0.0,
            top: 200.0,
            bottom: 200.0,
            child: new TextField(
              textAlign: TextAlign.center,
              style: const TextStyle(
                color: Colors.blue,
              ),
            ),
          ),
          new Positioned.fill(
            child: new GestureDetector(
              behavior: HitTestBehavior.translucent,
              onTap: (){
                print(&quot;Clicked gesture&quot;);
              },
            ),
          ),

//          new Positioned.fill(
//            child: new GestureDetector(
//              behavior: HitTestBehavior.opaque,
//              onTap: (){
//                print(&quot;Clicked gesture&quot;);
//              },
//              child: new RawMaterialButton(
//                child: new Text(
//                  'BUTTON',
//                  textAlign: TextAlign.center,
//                ),
//                onPressed: (){
//                  print(&quot;Clicked button&quot;);
//                },
//              ),
//            ),
//          ),
        ],
      ),
    );
  }
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;

<span class="pl-k">void</span> <span class="pl-en">main</span>() <span class="pl-k">=&gt;</span> <span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">MyApp</span>());

<span class="pl-k">class</span> <span class="pl-c1">MyApp</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> {
  <span class="pl-k">@override</span>
  <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
    <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">MaterialApp</span>(
      title<span class="pl-k">:</span> <span class="pl-s">'Flutter Demo'</span>,
      home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">MyHomePage</span>(),
    );
  }
}

<span class="pl-k">class</span> <span class="pl-c1">MyHomePage</span> <span class="pl-k">extends</span> <span class="pl-c1">StatefulWidget</span> {
  <span class="pl-k">@override</span>
  <span class="pl-c1">_MyHomePageState</span> <span class="pl-en">createState</span>() <span class="pl-k">=&gt;</span> <span class="pl-k">new</span> <span class="pl-c1">_MyHomePageState</span>();
}

<span class="pl-k">class</span> <span class="pl-c1">_MyHomePageState</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span>&lt;<span class="pl-c1">MyHomePage</span>&gt; {

  <span class="pl-k">@override</span>
  <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
    <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>(
      body<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Stack</span>(
        children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[
          <span class="pl-k">new</span> <span class="pl-c1">Positioned</span>(
            left<span class="pl-k">:</span> <span class="pl-c1">0.0</span>,
            right<span class="pl-k">:</span> <span class="pl-c1">0.0</span>,
            top<span class="pl-k">:</span> <span class="pl-c1">200.0</span>,
            bottom<span class="pl-k">:</span> <span class="pl-c1">200.0</span>,
            child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(
              textAlign<span class="pl-k">:</span> <span class="pl-c1">TextAlign</span>.center,
              style<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">TextStyle</span>(
                color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.blue,
              ),
            ),
          ),
          <span class="pl-k">new</span> <span class="pl-c1">Positioned</span>.<span class="pl-en">fill</span>(
            child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">GestureDetector</span>(
              behavior<span class="pl-k">:</span> <span class="pl-c1">HitTestBehavior</span>.translucent,
              onTap<span class="pl-k">:</span> (){
                <span class="pl-en">print</span>(<span class="pl-s">"Clicked gesture"</span>);
              },
            ),
          ),

<span class="pl-c">//          new Positioned.fill(</span>
<span class="pl-c">//            child: new GestureDetector(</span>
<span class="pl-c">//              behavior: HitTestBehavior.opaque,</span>
<span class="pl-c">//              onTap: (){</span>
<span class="pl-c">//                print("Clicked gesture");</span>
<span class="pl-c">//              },</span>
<span class="pl-c">//              child: new RawMaterialButton(</span>
<span class="pl-c">//                child: new Text(</span>
<span class="pl-c">//                  'BUTTON',</span>
<span class="pl-c">//                  textAlign: TextAlign.center,</span>
<span class="pl-c">//                ),</span>
<span class="pl-c">//                onPressed: (){</span>
<span class="pl-c">//                  print("Clicked button");</span>
<span class="pl-c">//                },</span>
<span class="pl-c">//              ),</span>
<span class="pl-c">//            ),</span>
<span class="pl-c">//          ),</span>
        ],
      ),
    );
  }
}</pre></div>
<p dir="auto">In this example, I would expect that GestureDetector receives tap input, but also that TextField gets focus, but what happens is that taps are registered in GestureDetector, but nothing passes to the TextField. If I comment out GestureDetector part, TextField works.<br>
Further, you can comment out first two widgets in stack and uncomment last one to check other issue- when GestureDetector has child. I would expect that no tap is passed to child but child receives input and GestureDetector does not.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.5.5-pre.10, on Mac OS X 10.13.4 17E202, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
[✓] Android Studio (version 3.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1.2)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected devices (2 available)
"><pre class="notranslate"><code class="notranslate">flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.5.5-pre.10, on Mac OS X 10.13.4 17E202, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
[✓] Android Studio (version 3.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1.2)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected devices (2 available)

</code></pre></div>