text:
[Widget test] Tapping DropdownMenuItem fails hit test

Steps to Reproduce

Create a new application project
change widget_test.dart to

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  WidgetController.hitTestWarningShouldBeFatal = true;

  testWidgets('Clicking DropdownMenuItem should not fail', (WidgetTester tester) async {
    await tester.pumpWidget(MaterialApp(
      home: Scaffold(
        body: Builder(
          builder: (context) => DropdownButton<int>(
            key: Key('dropdown'),
            items: [
              DropdownMenuItem(key: Key('1'), value: 1, child: Text('1')),
              DropdownMenuItem(key: Key('2'), value: 2, child: Text('2')),
            ],
          ),
        ),
      ),
    ));

    await tester.tap(find.byKey(Key('dropdown')));
    await tester.pumpAndSettle();

    await tester.tap(find.byKey(Key('2')));
    await tester.pumpAndSettle();
  });
}

Run the test

Expected results:
The test is expected to succeed without any warnings or errors being thrown around
Actual results:
The test fails because the hit test for the line await tester.tap(find.byKey(Key('2'))); fails.

Logs

PS C:\Users\basro\Desktop\test\flutter_application_1> flutter test --verbose
[  +55 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +56 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[        ] executing: [C:\flutter/] git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[  +71 ms] Exit code 0 from: git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[        ] 2.2.0
[   +4 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +29 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +25 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +100 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +29 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +80 ms] Found 1 files which will be executed as Widget Tests.
[   +6 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +47 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +35 ms] Skipping pub get: version match.
[  +86 ms] Generating C:\Users\basro\Desktop\test\flutter_application_1\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +33 ms] running test package with arguments: [-r, compact, --timeout, 30s, --concurrency=14, --, C:\Users\basro\Desktop\test\flutter_application_1\test\widget_test.dart]
00:00 +0: loading C:\Users\basro\Desktop\test\flutter_application_1\test\widget_test.dart                                                                                [ +148 ms] test 0: starting test C:\Users\basro\Desktop\test\flutter_application_1\test\widget_test.dart
[   +5 ms] Stopping scan for flutter_test_config.dart; found project root at C:\Users\basro\Desktop\test\flutter_application_1
[   +2 ms] Compiler will use the following file as its incremental dill file: C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_compiler.e574d54\output.dill
[        ] Listening to compiler controller...
[   +8 ms] Compiling file:///C:/Users/basro/AppData/Local/Temp/flutter_tools.9fdf716/flutter_test_listener.6bec8238/listener.dart
[   +7 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --no-print-incremental-dependencies --target=flutter
--debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_compiler.e574d54\output.dill --packages C:\Users\basro\Desktop\test\flutter_application_1\.dart_tool\package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --initialize-from-dill C:\Users\basro\Desktop\test\flutter_application_1\build\test_cache\build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill
[  +14 ms] <- compile file:///C:/Users/basro/AppData/Local/Temp/flutter_tools.9fdf716/flutter_test_listener.6bec8238/listener.dart
00:05 +0: loading C:\Users\basro\Desktop\test\flutter_application_1\test\widget_test.dart                                                                                [+5569 ms] <- accept
[        ] <- reset
[        ] Compiling C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_listener.6bec8238\listener.dart took 5591ms
[        ] test 0: starting test device
[   +4 ms] test 0: awaiting connection to test device
[   +1 ms] test 0: Observatory uri is not available
[   +6 ms] test 0: test harness socket server is running at port:56662
[   +1 ms] Using this directory for fonts configuration: C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_fonts.cf36d146
[   +1 ms] test 0: Starting flutter_tester process with command=[C:\flutter\bin\cache\artifacts\engine\windows-x64\flutter_tester.exe, --disable-observatory, --enable-checked-mode, --verify-entry-points, --enable-software-rendering, --skia-deterministic-rendering, --enable-dart-profiling, --non-interactive,
--use-test-fonts, --packages=C:\Users\basro\Desktop\test\flutter_application_1\.dart_tool\package_config.json, C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_listener.6bec8238\listener.dart.dill], environment={FLUTTER_TEST: true, FONTCONFIG_FILE:
C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_fonts.cf36d146/fonts.conf, SERVER_PORT: 56662, APP_NAME: flutter_application_1, UNIT_TEST_ASSETS: C:\Users\basro\Desktop\test\flutter_application_1\build\unit_test_assets}
[   +5 ms] test 0: Started flutter_tester process at pid 13132
[ +252 ms] test 0: connected to test device, now awaiting test result
[        ] test 0: Waiting for test harness or tests to finish
00:06 +0: Clicking DropdownMenuItem should not fail
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
Finder specifies a widget that would not receive pointer events.
A call to tap() with finder "exactly one widget with key [<'2'>] (ignoring offstage widgets):
DropdownMenuItem<int>-[<'2'>]" derived an Offset (Offset(8.0, 24.0)) that would not hit test on the
specified widget.
Maybe the widget is actually off-screen, or another widget is obscuring it, or the widget cannot
receive pointer events.
The finder corresponds to this RenderBox: RenderConstrainedBox#a92ad relayoutBoundary=up10 NEEDS-PAINT(creator: ConstrainedBox ← Container ← DropdownMenuItem<int>-[<'2'>] ← SizedBox ← IndexedStack ← Row ← Padding ← Container ← DefaultTextStyle ← Stack ← Listener ← _GestureSemantics ← ⋯, parentData: <none> (can use size), constraints: BoxConstraints(0.0<=w<=Infinity, h=48.0), size: Size(16.0, 48.0), additionalConstraints: BoxConstraints(0.0<=w<=Infinity, 48.0<=h<=Infinity))
The hit test result at that offset is: HitTestResult(RenderPointerListener#4ffa3@Offset(8.0, 24.0),
RenderSemanticsGestureHandler#36632@Offset(8.0, 24.0), RenderSemanticsAnnotations#b1bfe@Offset(8.0,
24.0), RenderSemanticsAnnotations#c0919@Offset(8.0, 24.0),
RenderCustomMultiChildLayoutBox#295fe@Offset(8.0, 24.0), _RenderInkFeatures#ee8e8@Offset(8.0, 24.0),
RenderPhysicalModel#5cd86@Offset(8.0, 24.0), RenderSemanticsAnnotations#b0f1e@Offset(8.0, 24.0),
RenderRepaintBoundary#066cf@Offset(8.0, 24.0), RenderIgnorePointer#4f73e@Offset(8.0, 24.0),
RenderAnimatedOpacity#b7673@Offset(8.0, 24.0), RenderRepaintBoundary#e2a32@Offset(8.0, 24.0),
RenderSemanticsAnnotations#241e3@Offset(8.0, 24.0), RenderOffstage#84140@Offset(8.0, 24.0),
RenderSemanticsAnnotations#59452@Offset(8.0, 24.0), _RenderTheatre#0aa69@Offset(8.0, 24.0),
RenderSemanticsAnnotations#66eaf@Offset(8.0, 24.0), RenderAbsorbPointer#c4c50@Offset(8.0, 24.0),
RenderPointerListener#533ad@Offset(8.0, 24.0), RenderCustomPaint#91e3b@Offset(8.0, 24.0),
RenderSemanticsAnnotations#7d419@Offset(8.0, 24.0), RenderSemanticsAnnotations#99934@Offset(8.0,
24.0), RenderSemanticsAnnotations#91061@Offset(8.0, 24.0), HitTestEntry#062cb(RenderView#eb2b7),
HitTestEntry#d0def(<AutomatedTestWidgetsFlutterBinding>))
If you expected this target not to be able to receive pointer events, pass "warnIfMissed: false" to
"tap()".
To make this error into a non-fatal warning, set WidgetController.hitTestWarningShouldBeFatal to
false.

When the exception was thrown, this was the stack:
#0      WidgetController._getElementPoint (package:flutter_test/src/controller.dart:934:11)
#1      WidgetController.getCenter (package:flutter_test/src/controller.dart:836:12)
#2      WidgetController.tap (package:flutter_test/src/controller.dart:271:18)
#3      main.<anonymous closure> (file:///C:/Users/basro/Desktop/test/flutter_application_1/test/widget_test.dart:32:18)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

The test description was:
  Clicking DropdownMenuItem should not fail
════════════════════════════════════════════════════════════════════════════════════════════════════
00:06 +0 -1: Clicking DropdownMenuItem should not fail [E]
  Test failed. See exception logs above.
  The test description was: Clicking DropdownMenuItem should not fail

[ +568 ms] test 0: Test harness is no longer needed by test process
[        ] test 0: finished
[   +1 ms] test 0: cleaning up...
[        ] test 0: ensuring test device is terminated.
[        ] test 0: Terminating flutter_tester process
[        ] test 0: Shutting down test harness socket server
[        ] test 0: Test process is no longer needed by test harness
[   +9 ms] test 0: flutter_tester process at pid 13132 exited with code=-1
[        ] test 0: deleting temporary directory
[   +2 ms] test 0: finished
00:06 +0 -1: Some tests failed.
[   +7 ms] Deleting C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_compiler.e574d54...
[   +3 ms] killing pid 21820
[  +43 ms] Deleting C:\Users\basro\AppData\Local\Temp\flutter_tools.9fdf716\flutter_test_fonts.cf36d146...
[   +2 ms] test package returned with exit code 1
[   +6 ms] "flutter test" took 6.909ms.
[   +3 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:468:7)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

[   +4 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

PS C:\Users\basro\Desktop\test\flutter_application_1> flutter analyze
Analyzing flutter_application_1...
No issues found! (ran in 1.0s)

PS C:\Users\basro\Desktop\test\flutter_application_1> flutter doctor -v
[√] Flutter (Channel stable, 2.2.0, on Microsoft Windows [Version 10.0.19042.985], locale nl-NL)
    • Flutter version 2.2.0 at C:\flutter
    • Framework revision b22742018b (4 days ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\basro\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 51.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.56.2)
    • VS Code at C:\Users\basro\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 90.0.818.62

• No issues found!

@Tregan
I am getting compile error on the setter : WidgetController.hitTestWarningShouldBeFatal = true;
Where is it coming from ?

@darshankawar This is included in the flutter_test package and makes it so that any hit test failures during tests fail the test, instead of just printing the warning.

Ah. Thanks. I was on 2.0.6 on which it gives that error. Running the test fails with below log:

 console error log

Testing started at 7:05 PM ...
/Users/dhs/Documents/Fluttersdk/flutter/bin/flutter --no-color test --machine --start-paused test/widget_test.dart
Running "flutter pub get" in bug_test...                         1,686ms

══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
Finder specifies a widget that would not receive pointer events.
A call to tap() with finder "exactly one widget with key [<'2'>] (ignoring offstage widgets):
DropdownMenuItem<int>-[<'2'>]" derived an Offset (Offset(8.0, 24.0)) that would not hit test on the
specified widget.
Maybe the widget is actually off-screen, or another widget is obscuring it, or the widget cannot
receive pointer events.
The finder corresponds to this RenderBox: RenderConstrainedBox#747ec relayoutBoundary=up10 NEEDS-PAINT(creator: ConstrainedBox ← Container ← DropdownMenuItem<int>-[<'2'>] ← SizedBox ← IndexedStack ← Row ← Padding ← Container ← DefaultTextStyle ← Stack ← Listener ← _GestureSemantics ← ⋯, parentData: <none> (can use size), constraints: BoxConstraints(0.0<=w<=Infinity, h=48.0), size: Size(16.0, 48.0), additionalConstraints: BoxConstraints(0.0<=w<=Infinity, 48.0<=h<=Infinity))
The hit test result at that offset is: HitTestResult(RenderPointerListener#8a870@Offset(8.0, 24.0),
RenderSemanticsGestureHandler#4c3d5@Offset(8.0, 24.0), RenderSemanticsAnnotations#dd5dd@Offset(8.0,
24.0), RenderSemanticsAnnotations#07230@Offset(8.0, 24.0),
RenderCustomMultiChildLayoutBox#367d5@Offset(8.0, 24.0), _RenderInkFeatures#50a91@Offset(8.0, 24.0),
RenderPhysicalModel#cbd4c@Offset(8.0, 24.0), RenderSemanticsAnnotations#45167@Offset(8.0, 24.0),
RenderRepaintBoundary#d808f@Offset(8.0, 24.0), RenderIgnorePointer#54611@Offset(8.0, 24.0),
RenderAnimatedOpacity#fd893@Offset(8.0, 24.0), RenderRepaintBoundary#7a168@Offset(8.0, 24.0),
RenderSemanticsAnnotations#12f36@Offset(8.0, 24.0), RenderOffstage#438a3@Offset(8.0, 24.0),
RenderSemanticsAnnotations#444d1@Offset(8.0, 24.0), _RenderTheatre#347ca@Offset(8.0, 24.0),
RenderSemanticsAnnotations#634ac@Offset(8.0, 24.0), RenderAbsorbPointer#7ba4e@Offset(8.0, 24.0),
RenderPointerListener#884aa@Offset(8.0, 24.0), RenderCustomPaint#d470b@Offset(8.0, 24.0),
RenderSemanticsAnnotations#54475@Offset(8.0, 24.0), RenderSemanticsAnnotations#66c57@Offset(8.0,
24.0), RenderSemanticsAnnotations#779f3@Offset(8.0, 24.0), HitTestEntry#5e9fe(RenderView#2b2ee),
HitTestEntry#f9f39(<AutomatedTestWidgetsFlutterBinding>))
If you expected this target not to be able to receive pointer events, pass "warnIfMissed: false" to
"tap()".
To make this error into a non-fatal warning, set WidgetController.hitTestWarningShouldBeFatal to
false.

When the exception was thrown, this was the stack:
#0      WidgetController._getElementPoint (package:flutter_test/src/controller.dart:934:11)
#1      WidgetController.getCenter (package:flutter_test/src/controller.dart:836:12)
#2      WidgetController.tap (package:flutter_test/src/controller.dart:271:18)
#3      main.<anonymous closure> (file:///Users/dhs/Documents/NCFlutter/bug_test/test/widget_test.dart:25:18)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

The test description was:
  Clicking DropdownMenuItem should not fail
════════════════════════════════════════════════════════════════════════════════════════════════════

Test failed. See exception logs above.
The test description was: Clicking DropdownMenuItem should not fail

 flutter doctor -v
[✓] Flutter (Channel stable, 2.2.0, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.2.0 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision b22742018b (4 days ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

! Doctor found issues in 1 category.

I have a lot of false positives for hit test failures after 2.2.0 upgrade, in Dropdowns, in Dialogs and in TextInputs.
Adding warnIfMissed doesn't seem right.

This is still the case in Flutter 2.5.0 (stable) as well as master (2.6.0), even after these fixes: https://github.com/flutter/flutter/issues/80856 https://github.com/flutter/flutter/pull/86449

Logs
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
Finder specifies a widget that would not receive pointer events.
A call to tap() with finder "exactly one widget with key [<'2'>] (ignoring offstage widgets):
DropdownMenuItem<int>-[<'2'>]" derived an Offset (Offset(8.0, 24.0)) that would not hit test on the
specified widget.
Maybe the widget is actually off-screen, or another widget is obscuring it, or the widget cannot
receive pointer events.
The finder corresponds to this RenderBox: RenderConstrainedBox#56326 relayoutBoundary=up11 NEEDS-PAINT(creator: ConstrainedBox ← Container ← DropdownMenuItem<int>-[<'2'>] ← SizedBox ← IndexedStack ← Row ← Padding ← Container ← DefaultTextStyle ← Stack ← Listener ← _GestureSemantics ← ⋯, parentData: <none> (can use size), constraints: BoxConstraints(0.0<=w<=Infinity, h=48.0), size: Size(16.0, 48.0), additionalConstraints: BoxConstraints(0.0<=w<=Infinity, 48.0<=h<=Infinity))
The hit test result at that offset is: HitTestResult(RenderPointerListener#87fae@Offset(8.0, 24.0),
RenderSemanticsGestureHandler#30e25@Offset(8.0, 24.0), RenderMouseRegion#7436b@Offset(8.0, 24.0),
RenderSemanticsAnnotations#1af09@Offset(8.0, 24.0), RenderSemanticsAnnotations#88f0a@Offset(8.0,
24.0), RenderCustomMultiChildLayoutBox#f3440@Offset(8.0, 24.0), _RenderInkFeatures#2e86b@Offset(8.0,
24.0), RenderPhysicalModel#951c6@Offset(8.0, 24.0), RenderSemanticsAnnotations#768e8@Offset(8.0,
24.0), RenderRepaintBoundary#57e0a@Offset(8.0, 24.0), RenderIgnorePointer#6a967@Offset(8.0, 24.0),
RenderAnimatedOpacity#6514a@Offset(8.0, 24.0), RenderRepaintBoundary#a7174@Offset(8.0, 24.0),
_RenderFocusTrap#3f33a@Offset(8.0, 24.0), RenderSemanticsAnnotations#efb3d@Offset(8.0, 24.0),
RenderOffstage#604f5@Offset(8.0, 24.0), RenderSemanticsAnnotations#a6aa5@Offset(8.0, 24.0),
_RenderTheatre#3d8e8@Offset(8.0, 24.0), RenderSemanticsAnnotations#d19e7@Offset(8.0, 24.0),
RenderAbsorbPointer#24d5d@Offset(8.0, 24.0), RenderPointerListener#07cc4@Offset(8.0, 24.0),
RenderCustomPaint#ef1f3@Offset(8.0, 24.0), RenderSemanticsAnnotations#c5d6e@Offset(8.0, 24.0),
RenderSemanticsAnnotations#181df@Offset(8.0, 24.0), RenderSemanticsAnnotations#766c5@Offset(8.0,
24.0), RenderSemanticsAnnotations#e27c6@Offset(8.0, 24.0), HitTestEntry#cefd4(RenderView#c994c),
HitTestEntry#b7a91(<AutomatedTestWidgetsFlutterBinding>))
If you expected this target not to be able to receive pointer events, pass "warnIfMissed: false" to
"tap()".
To make this error into a non-fatal warning, set WidgetController.hitTestWarningShouldBeFatal to
false.

When the exception was thrown, this was the stack:
#0      WidgetController._getElementPoint (package:flutter_test/src/controller.dart:939:11)
#1      WidgetController.getCenter (package:flutter_test/src/controller.dart:841:12)
#2      WidgetController.tap (package:flutter_test/src/controller.dart:273:18)
#3      main.<anonymous closure> (file:///C:/Users/basro/Downloads/tmp/flutter_application_1/test/flutter_application_1_test.dart:25:18)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

The test description was:
  Clicking DropdownMenuItem should not fail
════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor -v
[√] Flutter (Channel master, 2.6.0-1.0.pre.238, on Microsoft Windows [Version 10.0.19043.1165], locale nl-NL)
    • Flutter version 2.6.0-1.0.pre.238 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 53e851162e (5 hours ago), 2021-09-10 01:37:42 -0400
    • Engine revision 825c409164
    • Dart version 2.15.0 (build 2.15.0-93.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\basro\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.60.0)
    • VS Code at C:\Users\basro\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.63
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 93.0.961.38

• No issues found!

Trying to hit the text of options in a PopupMenuButton also gets flagged with the warnIfMissed warning.

It's weird, this isn't always reliably a problem. For example, the first case below passes, but the second fails:
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  WidgetController.hitTestWarningShouldBeFatal = true;

   testWidgets('Clicking DropdownMenuItem should not fail', (WidgetTester tester) async {
    await tester.pumpWidget(MaterialApp(
      home: Center(
        child: Material(
          child: DropdownButton<int>(
            key: Key('button'),
            onChanged: (int? result) { },
            items: <DropdownMenuItem<int>>[
              const DropdownMenuItem<int>(
                key: Key('item'),
                value: 1,
                child: Text('111111111111111111'),
              ),
            ],
          ),
	),
      ),
    ));
    await tester.tap(find.byKey(Key('button')));
    await tester.pump();
    await tester.pump(const Duration(seconds: 1));
    await tester.tap(find.byKey(Key('item')).at(1));
  });

  testWidgets('Clicking DropdownMenuItem should not fail', (WidgetTester tester) async {
    await tester.pumpWidget(
      MaterialApp(
        home: Center(
          child: Material(
            child: DropdownButton<int>(
              onChanged: (int? value) { },
              key: Key('button'),
              items: <DropdownMenuItem<int>>[
                DropdownMenuItem(
                  key: Key('item'),
                  value: 1,
                  child: Text('1'),
                ),
              ],
            ),
          ),
        ),
      ),
    );
    await tester.tap(find.byKey(Key('button')));
    await tester.pump();
    await tester.pump(const Duration(seconds: 1));
    await tester.tap(find.byKey(Key('item')).at(1));
  });
}

Still seeing this, and yes, it seems like the length of the text matters. In my test case it failed with the text 'Foo' but passed with 'FooFoo'.

I decided to check this again, and the issue seems to have been fixed.
Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b06b8b2710 (5 weeks ago) • 2023-01-23 16:55:55 -0800
Engine • revision b24591ed32
Tools • Dart 2.19.0 • DevTools 2.20.1

source: gharchive/issue

authors: Hixie Tregan darshankawar dowski kuhnroyal

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
problem on this line: Future getData() async{    var response = await http.get("file:///C:/Users/Raihan/Desktop/test.json");

import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:http/http.dart' as http;
import 'dart:async';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Raihan Hossain'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key? key, required this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
var data;
Future getData() async{
var response = await http.get("file:///C:/Users/Raihan/Desktop/test.json");
setState(() {
var decode = json.decode(response.body);
data=decode;
print(data);
});
}
@override
void initState() {
// TODO: implement initState
super.initState();
this.getData();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
);
}
}

Issues with a package a need to be reported to that package's project; there's a link from each package on pub.dev to its issue tracker.
Closing as http is not part of Flutter.

authors: RaddN stuartmorgan


text:
Flawed generation of localisation files after upgrading Flutter to 2.2.1

I localised my application using the latest 0.17.0 intl package and it had worked fine until I upgraded Flutter from 2.0.2 to 2.2.1.
Now localisation files are generated without import 'package:intl/intl.dart' as intl;, which leads to errors when trying to build the project.
Downgrading Flutter back to 2.0.2 resolves the issue.
Steps to Reproduce

While having Flutter 2.0.2, localise your applicaiton in accordance with the official guidelines.
Upgrade Flutter from 2.0.2 to 2.2.1.
Run flutter build bundle.

flutter build bundle --verbose
[ +131 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +965 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +2 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git tag --points-at
02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ +562 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +1 ms] 2.2.1
[   +9 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +105 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git ls-remote --get-url origin
[ +108 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +263 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git rev-parse --abbrev-ref HEAD
[ +108 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +2 ms] stable
[ +212 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +29 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +224 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +125 ms] Initializing file store
[  +19 ms] Done initializing file store
[ +148 ms] Skipping target: gen_localizations
[   +8 ms] Persisting file store
[  +42 ms] Done persisting file store
[  +82 ms] Skipping pub get: version match.
[ +281 ms] Found plugin file_picker at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-3.0.2+2\
[  +38 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\
[  +31 ms] Found plugin flutter_tts at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_tts-3.1.0\
[ +181 ms] Found plugin package_info_plus at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus-1.0.1\
[  +51 ms] Found plugin package_info_plus_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_macos-1.1.1\
[  +66 ms] Found plugin package_info_plus_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_web-1.0.1\
[  +78 ms] Found plugin path_provider at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.2\
[  +26 ms] Found plugin path_provider_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.0\
[  +24 ms] Found plugin path_provider_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.0\
[  +51 ms] Found plugin path_provider_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.1\
[ +130 ms] Found plugin sentry_flutter at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sentry_flutter-5.0.0\
[  +33 ms] Found plugin shared_preferences at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.6\
[  +27 ms] Found plugin shared_preferences_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.0\
[  +30 ms] Found plugin shared_preferences_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.0\
[  +56 ms] Found plugin shared_preferences_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.0\
[  +28 ms] Found plugin shared_preferences_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.0\
[  +59 ms] Found plugin sqflite at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[ +193 ms] Found plugin url_launcher at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[  +24 ms] Found plugin url_launcher_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[  +22 ms] Found plugin url_launcher_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[ +100 ms] Found plugin url_launcher_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[  +27 ms] Found plugin url_launcher_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[ +547 ms] Found plugin file_picker at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-3.0.2+2\
[  +16 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\
[  +15 ms] Found plugin flutter_tts at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_tts-3.1.0\
[  +34 ms] Found plugin package_info_plus at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus-1.0.1\
[   +8 ms] Found plugin package_info_plus_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_macos-1.1.1\
[  +28 ms] Found plugin package_info_plus_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_web-1.0.1\
[  +51 ms] Found plugin path_provider at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.2\
[  +19 ms] Found plugin path_provider_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.0\
[  +11 ms] Found plugin path_provider_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.0\
[   +9 ms] Found plugin path_provider_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.1\
[  +24 ms] Found plugin sentry_flutter at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sentry_flutter-5.0.0\
[   +6 ms] Found plugin shared_preferences at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.6\
[  +11 ms] Found plugin shared_preferences_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.0\
[   +4 ms] Found plugin shared_preferences_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.0\
[  +16 ms] Found plugin shared_preferences_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.0\
[   +7 ms] Found plugin shared_preferences_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.0\
[  +14 ms] Found plugin sqflite at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[  +57 ms] Found plugin url_launcher at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[   +6 ms] Found plugin url_launcher_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[   +9 ms] Found plugin url_launcher_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[  +13 ms] Found plugin url_launcher_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[  +17 ms] Found plugin url_launcher_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[ +361 ms] Generating
C:\Users\safarol\Documents\GIT\language_cards\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +294 ms]  Building with sound null safety
[  +21 ms] Initializing file store
[  +90 ms] Done initializing file store
[ +128 ms] Skipping target: gen_localizations
[+3787 ms] kernel_snapshot: Starting due to {}
[  +43 ms] C:\Users\safarol\AppData\Local\Programs\Flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\safarol\AppData\Local\Programs\Flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\safarol\AppData\Local\Programs\Flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
--no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--no-link-platform --packages C:\Users\safarol\Documents\GIT\language_cards\.dart_tool\package_config.json --output-dill
C:\Users\safarol\Documents\GIT\language_cards\.dart_tool\flutter_build\504941f2fa07fd66e96f9082aa1c441d\app.dill --depfile
C:\Users\safarol\Documents\GIT\language_cards\.dart_tool\flutter_build\504941f2fa07fd66e96f9082aa1c441d\kernel_snapshot.d
package:language_cards/main.dart
[+16398 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:89:11: Error: 'intl.NumberFormat' can't be used as a type
because 'intl'
                     doesn't refer to an import prefix.
[   +8 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[  +11 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:89:57: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                         ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:112:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +5 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:112:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +3 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:126:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +1 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:126:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:137:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +3 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:137:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:195:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:200:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:195:54: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                      ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:200:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                        ^^^^
[  +17 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:335:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:335:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +5 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]                                                              ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:397:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +5 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:402:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +3 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +3 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:397:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:402:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +7 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:433:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +4 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:433:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +3 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:599:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[   +3 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:604:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +3 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:599:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                        ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:604:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:89:11: Error: 'intl.NumberFormat' can't be used as a type
because 'intl'
           doesn't refer to an import prefix.
[   +5 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:89:57: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                         ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:112:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:112:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]                                                              ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:126:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +6 ms]           ^^^^^^^^^^^^^^^^^
[   +6 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:126:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +3 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:137:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:137:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:195:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +1 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:200:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:195:54: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                      ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:200:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +3 ms]                                                        ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:335:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:335:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:397:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:402:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:397:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:402:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:433:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:433:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:599:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[  +17 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:604:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:599:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +3 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                        ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:604:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +3 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +6 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +8 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +5 ms]                                                       ^^^^
[+15141 ms] Persisting file store
[  +24 ms] Done persisting file store
[  +17 ms] Target kernel_snapshot failed: Exception
[  +28 ms] "flutter bundle" took 40,065ms.
[   +9 ms] Failed to build bundle.
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      buildWithAssemble (package:flutter_tools/src/bundle.dart:178:5)
           <asynchronous suspension>
           #2      BundleBuilder.build (package:flutter_tools/src/bundle.dart:104:5)
           <asynchronous suspension>
           #3      BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:114:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

[ +126 ms] ensureAnalyticsSent: 113ms
[   +5 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

flutter doctor --verbose
[√] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.19042.985], locale en-US)
    • Flutter version 2.2.1 at C:\Users\safarol\AppData\Local\Programs\Flutter
    • Framework revision 02c026b03c (11 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\safarol\AppData\Local\Programs\Android
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\safarol\AppData\Local\Programs\Android
    • ANDROID_SDK_ROOT = C:\Users\safarol\AppData\Local\Programs\Android
    • Java binary at: C:\Users\safarol\AppData\Local\Programs\Android\jdk-15.0.1\bin\java
    • Java version Java(TM) SE Runtime Environment (build 15.0.1+9-18)
    • All Android licenses accepted.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.56.2)
    • VS Code at C:\Users\safarol\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[√] Connected device (1 available)
    • Edge (web) • edge • web-javascript • Microsoft Edge 91.0.864.41

! Doctor found issues in 2 categories.

I'm experiencing the same problem. Generated localization files (app_localizatons_de.dart, app_localizatons_es.dart, etc) are missing prefix in import line.
import 'app_localizations.dart';
should be
import 'package:intl/intl.dart' as intl;

Hi @stenlee
This has been fixed in later channels, a duplicate of https://github.com/flutter/flutter/issues/83102

authors: Jahn08 TahaTesser stenlee


text:
[TextFormField] validator errorText how to change position?

as title,
when field validate error, the "errorText" is place under the input field,
but my project want the errorText place above the input field, any most elegant solution?

Hi @peterweb2005
There is no align property for this yet, duplicate of https://github.com/flutter/flutter/issues/11068


text:
Collect analytics for 'flutter run -d chrome --debug' users

We would like to understand the size of our user base and track the (hopefully) growth of the users for flutter web debugger overtime.

Why is this a Flutter issue? We can track this in the existing DevTools analytics.

Would Devtools analytics give us number of users for all internal and external uses of flutter run -d chrome --debug? Is devtools always running and collecting analytics for other UIs as well?

I imagine adding analytics to the Flutter tool will give a more complete picture. For example, we can learn how many users run in debug mode but don't use the DevTools, how many run using the CLI, and how many run using an IDE.

authors: annagrin jacob314 yjbanov


text:
Ability to listen to CompositedTransformTarget on move

Use case
Hello, I'm working on an open source tooltip found here (almost a one to one mapping of the Flutter Tooltip except for a few key changes) and recently thought to move the target of the tooltip around and found out it's not really possible (as far I know) to listen to the transforms happening from the CompositedTransformTarget.
I want to know when a transform happens so that I can update positioning logic of the tooltip. If we were able to listen to when the leader changes, we could recalculate position, offset, etc. Here's an example video of what currently happens (this should be the same for the regular tooltip if it weren't dismissed from its hide timer). In the video, I've set the child target to move to the bottom right using an AnimatedAlign from center to bottom right.
https://user-images.githubusercontent.com/29642168/135658309-d92d8d88-a837-4ffd-84dd-92ccf206f1ac.mp4
The tooltip render object above the target has the necessary logic to position itself given the target size, target position and the constraints of the overlay but doesn't because it's never told to. In theory I'd like it to look like the picture below (gotten after doing a hot reload, which gets the correct position again via calling OverlayEntry.builder which finds the new position of the target child through final box = context.findRenderObject() as RenderBox?;)

Proposal
I think it'd make sense to make LayerLink a listenable that updates every time the target is moved. This would give users the ability to update the follower layout.
Another idea is to make CompositedTransformFollower return a builder instead of a child property. This builder could run every time the transform changes and we could even pass through the transform perhaps

Just a link to related and recently closed PR which might be helpful https://github.com/flutter/flutter/pull/112106

authors: Nolence roman-petrov


text:
Revert "Add ShortcutsRegistry"

Reverts flutter/flutter#103456
This is breaking internal google tests

@CaseyHillers I believe there was a g3fix attached to this. Just to double-check: It is still breaking with that fix attached?

Casey reached out to me on Chat, and I've updated the G3Fix to include an override that I missed.  It should be good now, and we shouldn't need to revert.

source: gharchive/pull-request

authors: CaseyHillers goderbauer gspencergoog


text:
Add RelativeRect.fromDirectional factory

Added fromDirectional factory to RelativeRect.
When we need to consider both TextDirection.ltr and TextDirection.rtl, this will help us.
RelativeRect.fromDirectional(
    textDirection: textDirection,
    start: 10.0,
    top: 20.0,
    end: 30.0,
    bottom: 40.0,
);

List which issues are fixed by this PR. You must list at least one issue.
https://github.com/flutter/flutter/issues/107058
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Thanks for the contribution! :)

authors: kseino loic-sharma


text:
Roll Flutter Engine from 1b132e44194d to 87ed274708bb (4 revisions)

https://github.com/flutter/engine/compare/1b132e44194d...87ed274708bb
2023-02-04 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from _6bmpi47oMZC-msOI... to hcZFTTKMN0k4lXjfs... (flutter/engine#39384)
2023-02-04 erkln@google.com [fuchsia] Add output_path property to customize output path of .so files (flutter/engine#39007)
2023-02-04 skia-flutter-autoroll@skia.org Roll Skia from 5d8a7ed8acfe to 8de8c6287254 (1 revision) (flutter/engine#39382)
2023-02-04 skia-flutter-autoroll@skia.org Roll Skia from f083b79aa388 to 5d8a7ed8acfe (3 revisions) (flutter/engine#39381)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from _6bmpi47oMZC to hcZFTTKMN0k4
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll Flutter Engine from 84f2fc16e55d to 40df5acbadf5 (2 revisions)

https://github.com/flutter/engine/compare/84f2fc16e55d...40df5acbadf5
2023-05-26 110993981+htoor3@users.noreply.github.com [web] - Fix autofill group input ordering  (flutter/engine#42268)
2023-05-26 skia-flutter-autoroll@skia.org Roll Skia from 1622df035714 to ac897edeb16a (1 revision) (flutter/engine#42348)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll Flutter Engine from 0293a7cb7887 to ea484fe1d5ef (4 revisions)

https://github.com/flutter/engine/compare/0293a7cb7887...ea484fe1d5ef
2023-07-19 jason-simmons@users.noreply.github.com Fix the rules for determining whether a blur image filter is valid (flutter/engine#43791)
2023-07-19 skia-flutter-autoroll@skia.org Roll Skia from 035b12a03918 to c03050eb2b65 (1 revision) (flutter/engine#43802)
2023-07-19 skia-flutter-autoroll@skia.org Roll Skia from 9062ca6a691c to 035b12a03918 (3 revisions) (flutter/engine#43801)
2023-07-19 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from SCshjyIlymHWD9W4D... to Iqf3gYJ8Vkq8k8l3O... (flutter/engine#43800)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from SCshjyIlymHW to Iqf3gYJ8Vkq8
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Reland #128236 "Improve build output for all platforms"

Reland #128236, reverted in https://github.com/flutter/flutter/pull/143125, https://github.com/flutter/flutter/pull/145261, and https://github.com/flutter/flutter/pull/145487.
The errors were raised in post-submit tests on Windows. I have finally obtained a Windows machine to reproduce the errors locally and adjust the test (remove size expectation and rename output .exe).
Original description
Improves the build output:

Gives confirmation that the build succeeded, in green
Gives the path to the built executable, without a trailing period to make it slightly easier to cmd/ctrl+open
Gives the size of the built executable (when the built executable is self contained)

apk, appbundle

macos, ios, ipa
Build executables are self-contained and use a newly introduced OperatingSystemUtils.getDirectorySize.

windows, linux, and web
Build executables aren't self-contained, and folder size can sometimes overestimate distribution size, therefore their size isn't mentioned (see discussion below).

Size reporting
When applicable, the printed size matches the OS reported size.

macOS

Windows

Linux

Related issues
Part of #120127
Fixes https://github.com/flutter/flutter/issues/121401
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@guidezpl The Google tests failed. I saw your last pull request had a g3fix, does this also need that?

Yes, although I've been running into a known issue (b/328487128) and unable to add a g3fix (cl/617613370). I'll mark it as pass for infra issue and keep the roller in the loop.

authors: guidezpl loic-sharma


text:
Roll Flutter Engine from eff1b76cf297 to ab7d57369fd6 (3 revisions)

https://github.com/flutter/engine/compare/eff1b76cf297...ab7d57369fd6
2024-08-30 skia-flutter-autoroll@skia.org Roll Skia from 2727e4e5d7ec to 0182585d38dd (1 revision) (flutter/engine#54908)
2024-08-30 30870216+gaaclarke@users.noreply.github.com Reland: Hooks up framework wide gamut to engine wide gamut (flutter/engine#54906)
2024-08-30 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from ohUS2y1HixZYziUtX... to JKPo9G1NaAdstrimW... (flutter/engine#54907)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from ohUS2y1HixZY to JKPo9G1NaAds
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll engine 4893b0760df0..597a508498d3 (8 commits)

https://github.com/flutter/engine/compare/4893b0760df0...597a508498d3
git log 4893b0760df0..597a508498d3 --date=short --no-merges --format='%%ad %%ae %%s'
2018-08-03 37626415+skia-flutter-autoroll@users.noreply.github.com Roll src/third_party/skia cdfa16d086b8..4c3b63e289c5 (9 commits) (flutter/engine#5936)
2018-08-03 37626415+skia-flutter-autoroll@users.noreply.github.com Roll src/third_party/skia 1400d38e0863..cdfa16d086b8 (10 commits) (flutter/engine#5934)
2018-08-03 amirh@users.noreply.github.com Flush all embedded Android views on hot restart. (flutter/engine#5929)
2018-08-03 37626415+skia-flutter-autoroll@users.noreply.github.com Roll src/third_party/skia 578ef2847b72..1400d38e0863 (7 commits) (flutter/engine#5933)
2018-08-02 amirh@users.noreply.github.com Don't drop MotionEvents with unknown tool type. (flutter/engine#5931)
2018-08-02 37626415+skia-flutter-autoroll@users.noreply.github.com Roll src/third_party/skia 64cc576b1fa7..578ef2847b72 (20 commits) (flutter/engine#5930)
2018-08-02 regis@google.com Roll Dart to b04def964c428ada007cca7ef6b4936001db965d (flutter/engine#5928)
2018-08-02 jamesderlin@users.noreply.github.com Add an explicit -[FlutterViewController init] implementation (flutter/engine#5924)
The AutoRoll server is located here: https://flutter-engine-flutter-roll.skia.org
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://flutter-engine-flutter-roll.skia.org

Commit queue failed; closing this roll.


text:
move the analysis_options to a file

Largely a redux of https://github.com/flutter/flutter/pull/2529 - move the .analysis_options settings to a file, so it's available to analysis server based tools (as well as the flutter analyze command).

lgtm

authors: Hixie devoncarew


text:
Roll engine bf3af4d157cc..1cada0a6dca6 (1 commits)

git@github.com:flutter/engine.git/compare/bf3af4d157cc...1cada0a6dca6
git log bf3af4d157cc..1cada0a6dca6 --no-merges --oneline
2019-09-19 skia-flutter-autoroll@skia.org Roll src/third_party/skia 6344cbd1df76..18531cde2ab7 (2 commits) (flutter/engine#12358)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


text:
Transform mouse events to the local coordinate system

Description
This PR fixes the issue that mouse events from callbacks (onEnter, onHover, onExit) don't have correct local information, i.e. localPosition and localDelta.
Related Issues
Replace this paragraph with a list of issues related to this PR from our issue database. Indicate, which of these issues are resolved or fixed by this PR. There should be at least one issue listed here.
Tests
I added the following tests:
Replace this with a list of the tests that you added as part of this PR. A change in behaviour with no test covering it
will likely get reverted accidentally sooner or later. PRs must include tests for all changed/updated/fixed behaviors. See Test Coverage.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I signed the CLA.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

/cc @gspencergoog
Looks like we have to PRs that implement the same feature? See https://github.com/flutter/flutter/pull/48271.

Hi I need this for a project I'm working on. Any ETA for a merge into master? Thanks for the hard work :)

authors: dkwingsmt goderbauer kenthinson


text:
Roll engine e47fa0bee913..0caa7c16aee4 (1 commits)

https://github.com/flutter/engine/compare/e47fa0bee913...0caa7c16aee4
git log e47fa0bee913..0caa7c16aee4 --first-parent --oneline
2020-02-28 skia-flutter-autoroll@skia.org Roll src/third_party/skia 55f681faf391..03d9e8af0d25 (6 commits) (flutter/engine#16854)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll Engine from 165abef0a2cb to 40fe7f3597b6 (41 revisions)

Roll Engine from 165abef0a2cb to 40fe7f3597b6 (41 revisions)
https://github.com/flutter/engine/compare/165abef0a2cb...40fe7f3597b6
2020-09-03 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from 0r88gDzUP... to gOI3W1UNU... (flutter/engine#20970)
2020-09-03 skia-flutter-autoroll@skia.org Roll Skia from 683beccf6776 to a66a9c31a318 (4 revisions) (flutter/engine#20969)
2020-09-03 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from knpSoAoZq... to odFvFQV9Z... (flutter/engine#20968)
2020-09-03 egarciad@google.com Only clear GL context after changing the thread configuration (flutter/engine#20965)
2020-09-02 skia-flutter-autoroll@skia.org Roll Skia from 3d1d636cd839 to 683beccf6776 (13 revisions) (flutter/engine#20961)
2020-09-02 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from waj2pOhDh... to 0r88gDzUP... (flutter/engine#20958)
2020-09-02 egarciad@google.com Clear GL context before Gr context (flutter/engine#20957)
2020-09-02 nurhan@google.com renaming e2e tests to integration (flutter/engine#20954)
2020-09-02 skia-flutter-autoroll@skia.org Roll Skia from e9a9ad908226 to 3d1d636cd839 (6 revisions) (flutter/engine#20955)
2020-09-02 dnfield@google.com Revert external size changes to Picture (flutter/engine#20950)
2020-09-02 dnfield@google.com Use hint freed specifically for image disposal (flutter/engine#20754)
2020-09-02 skia-flutter-autoroll@skia.org Roll Skia from 8fa3b4e8cde5 to e9a9ad908226 (5 revisions) (flutter/engine#20952)
2020-09-02 skia-flutter-autoroll@skia.org Roll Skia from 1338a37a1add to 8fa3b4e8cde5 (6 revisions) (flutter/engine#20949)
2020-09-02 aam@google.com Log exception in addition to the stack trace for unhandled exceptions. (flutter/engine#20935)
2020-09-02 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 9tLNFbjA1... to knpSoAoZq... (flutter/engine#20944)
2020-09-02 skia-flutter-autoroll@skia.org Roll Skia from 7b46300fe4ff to 1338a37a1add (16 revisions) (flutter/engine#20943)
2020-09-02 egarciad@google.com Clear the GL context only after submitting the frame (flutter/engine#20931)
2020-09-02 garyq@google.com [Android R] Integrate DisplayCutouts into viewportMetrics (flutter/engine#20921)
2020-09-02 skia-flutter-autoroll@skia.org Roll Dart SDK from e8e0d5a539fb to b29f228f62e2 (3 revisions) (flutter/engine#20939)
2020-09-02 liyuqian@google.com Revert "Create root isolate asynchronously (#20142)" (flutter/engine#20937)
2020-09-02 flar@google.com Revert "Adds fuchsia node roles to accessibility bridge updates. (#20385)" (flutter/engine#20936)
2020-09-02 deakjahn@gmail.com Image.toByteData and Picture.toImage implementations (#3) (flutter/engine#20750)
2020-09-01 egarciad@google.com Ensure all images are closed in FlutterImageView (flutter/engine#20842)
2020-09-01 skia-flutter-autoroll@skia.org Roll Dart SDK from 2a5f37d25453 to e8e0d5a539fb (3 revisions) (flutter/engine#20928)
2020-09-01 abrush21@users.noreply.github.com Adds fuchsia node roles to accessibility bridge updates. (flutter/engine#20385)
2020-09-01 jianguang.cjg@alibaba-inc.com Create root isolate asynchronously (flutter/engine#20142)
2020-09-01 skia-flutter-autoroll@skia.org Roll Skia from 3913d3e137ed to 7b46300fe4ff (4 revisions) (flutter/engine#20924)
2020-09-01 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from SVZn8uN2... to 9tLNFbjA1... (flutter/engine#20920)
2020-09-01 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from sI2DAAmSI... to waj2pOhDh... (flutter/engine#20919)
2020-09-01 stuartmorgan@google.com Default C++ wrapper templates to EncodableValue (flutter/engine#20760)
2020-09-01 skia-flutter-autoroll@skia.org Roll Dart SDK from 6eab35f49cbb to 2a5f37d25453 (1 revision) (flutter/engine#20917)
2020-09-01 nurhan@google.com [web] migrate from e2e to integration_test (flutter/engine#20914)
2020-09-01 skia-flutter-autoroll@skia.org Roll Dart SDK from 84c3eacc7ba0 to 6eab35f49cbb (2 revisions) (flutter/engine#20913)
2020-09-01 jason-simmons@users.noreply.github.com Pass text input key events to the EventResponder if they do not yield characters (flutter/engine#20912)
2020-08-31 jason-simmons@users.noreply.github.com Reset Shell::weak_factory_gpu on the raster thread (flutter/engine#20869)
2020-08-31 stuartmorgan@google.com [windows] Add horizontal scroll support (flutter/engine#20668)
2020-08-31 skia-flutter-autoroll@skia.org Roll Skia from 44e96bee4b6a to 3913d3e137ed (2 revisions) (flutter/engine#20909)
2020-08-31 egarciad@google.com Wait for first frame before checking layer tree (flutter/engine#20910)
2020-08-31 xster@google.com Add auto plugin registration to FlutterFragmentActivity as well (flutter/engine#20865)
2020-08-31 skia-flutter-autoroll@skia.org Roll Skia from db5582b71116 to 44e96bee4b6a (4 revisions) (flutter/engine#20908)
2020-08-31 egarciad@google.com Reland: Enable hybrid composition by default on Android (#20722) (flutter/engine#20864)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from _SVZn8uN29Ch to odFvFQV9Ze6Q
fuchsia/sdk/core/mac-amd64 from sI2DAAmSIPFp to gOI3W1UNUuIU
...

Commit queue failed; closing this roll.


text:
Roll Engine from b3a18f518282 to 5c23b54b8e89 (5 revisions)

https://github.com/flutter/engine/compare/b3a18f518282...5c23b54b8e89
2021-02-10 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from QJfCXnklY... to cSlRZzm0z... (flutter/engine#24320)
2021-02-10 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from LHRp0kYRi... to Yyj0Krr1G... (flutter/engine#24319)
2021-02-10 skia-flutter-autoroll@skia.org Roll Skia from e2c9d3c034dc to ec04e062f3f5 (5 revisions) (flutter/engine#24316)
2021-02-10 skia-flutter-autoroll@skia.org Roll Dart SDK from 02230d7386c7 to 4bd4c2a493e9 (6 revisions) (flutter/engine#24313)
2021-02-10 skia-flutter-autoroll@skia.org Roll Skia from 62b039b36d4d to e2c9d3c034dc (5 revisions) (flutter/engine#24312)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from QJfCXnklYkM5 to cSlRZzm0zhXx
fuchsia/sdk/core/mac-amd64 from LHRp0kYRiPKB to Yyj0Krr1GzCd
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC liyuqian@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


text:
Added Widgets that interact with asynchronous computations

Added three new Widget types for building Widget sub-trees based on interaction with asynchronous computations such as Futures and Streams.
These Widgets are intended to be used e.g. with native interop (upcoming pull-requests that expand on the current hello_services example) and background computations (later).

nit: Please read https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo and update the code to Flutter style. Thanks!

This is a very interesting set of widgets. (cc @abarth, why may also find them interesting)
Is there a use case for having the separate StreamFold abstract widget other than for testing?

Thanks for including tests, by the way. Much appreciated.

Thanks for your detailed review comments! I somehow completely missed the
link to the Flutter style guide... I'll update the pull request accordingly.

Cool, thanks. Let me know when it's updated and I'll take another look.

As for the utility of StreamFold, I think there are numerous use cases, and
the class was not intended to just facilitate testing. Please note that
StreamBuilder only has access to the latest snapshot of interaction with
the Stream when building, and so would be unable to do things like

create a Text widget with the running average of a Stream, or
render the current direction or speed based on a stream of geolocation
coordinates, or
implement a game of snake based on a stream of accelerometer data, or
render a graph based on a stream of data points.

We could leave out StreamBuilder instead, but I do think there are use
cases for reflecting just the latest event (or error) from a stream in the
UI. Latest sale or stock price for instance.

that makes sense. maybe rename StreamFold to StreamBuilder and StreamBuilder to StreamSnapshotBuilder?
or maybe the former should just be StreamBuilderBase?

PTAL.
On Tue, Jan 31, 2017 at 9:21 AM, Ian Hickson notifications@github.com
wrote:

Cool, thanks. Let me know when it's updated and I'll take another look.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/pull/7733#issuecomment-276302043, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AV33XYA0YRwX9Q9nk4uMYlVITZgfkfB_ks5rXu8FgaJpZM4LxeWm
.

--
Mikkel Nygaard Ravn
Software Engineer

This looks pretty neat.  My only real comment is about simplifying FutureBuilder to use the Future interface directly instead of plumbing through streams.

Thanks again for the reviews! I've re-implemented FutureBuilder on top of the Future API and made the test code conform to the Flutter style guide.

Let me know if you need someone to land this for you.

authors: Hixie abarth mravn-google


text:
fix: typo of mentiones -> mentions

Description
Fixed typo of mentiones -> mentions in app_en.arb
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[x] 🗑 Chore

@googlebot I signed it!

repo: flutter/photobooth

license: mit

license_source: bigquery


text:
The FloatingActionButton requires an icon

The sample code doesn't work.  It needs an icon specified for the FloatingActionButton.

I signed it!

repo: flutter/plugins