text:
AlertDialog hidden By Keyboard

I already follow issue similiar with my problem  Like This Issue in Github .
I'm create simple Button and show alert Dialog , But the problem is my alertDialog hide by keyboard.
I'm already using SingleChildScrollView but it's not what i wan't, it's make dialog top of screen.

It's my source code.

import 'package:flutter/material.dart';

class TestingPage extends StatelessWidget {
  static const routeNamed = "/testing-page";
  @override
  Widget build(BuildContext context) {
    return Center(
      child: RaisedButton(
        onPressed: () => showDialog(
          child: CustomAlertDialog(
            //  controller: _txtUserController,
            title: "Description About You",
            labelText: "Fill Your Name",
            errorTextEmpty: "Provided Name",
            //  boxName: "user_box",
            //  userModelHive: UserModelHive()
            //    ..id = DateTime.now()
            //    ..giverName = _txtUserController.text
            //    ..pinCodeNumber = "",
            //  routeName: HomeScreen.routeNamed,
          ),
          context: context,
          barrierDismissible: false,
        ),
        child: Text('Open Dialog'),
      ),
    );
  }
}

class CustomAlertDialog extends StatefulWidget {
  final TextEditingController controller;
  final String title;
  final String labelText;
  final String errorTextEmpty;
  final String boxName;

//  final UserModelHive userModelHive;
  final String routeName;

  CustomAlertDialog({
    this.controller,
    this.title,
    this.labelText,
    this.errorTextEmpty,
    this.boxName,
    //  this.userModelHive,
    this.routeName,
  });

  @override
  _CustomAlertDialogState createState() => _CustomAlertDialogState();
}

class _CustomAlertDialogState extends State<CustomAlertDialog> {
//  final Repository _repository = Repository();
  final formKeys = GlobalKey<FormState>();

  @override
  Widget build(BuildContext context) {
    return Form(
      key: formKeys,
      child: _SystemPadding(
        child: AlertDialog(
          title: Text(widget.title),
          content: TextFormField(
            controller: widget.controller,
            decoration: InputDecoration(
              labelText: widget.labelText,
              border:
                  OutlineInputBorder(borderRadius: BorderRadius.circular(30)),
            ),
            validator: (value) {
              if (value.isEmpty) {
                return widget.errorTextEmpty;
              }
              return null;
            },
          ),
          actions: <Widget>[
            FlatButton.icon(
                icon: Icon(Icons.verified_user),
                label: const Text("Let's go"),
                color: Theme.of(context).primaryColor,
                textTheme: ButtonTextTheme.primary,
                onPressed: () {})
          ],
        ),
      ),
    );
  }
}

class _SystemPadding extends StatelessWidget {
  final Widget child;

  _SystemPadding({this.child});

  @override
  Widget build(BuildContext context) {
    var mediaQuery = MediaQuery.of(context);
    print(mediaQuery.viewInsets.bottom);
    return AnimatedContainer(
      padding: mediaQuery.padding,
      color: Colors.black.withOpacity(.5),
      duration: const Duration(milliseconds: 300),
      child: child,
    );
  }
}

Hi @zgramming
I see there's an open issue addressing the case you described and also contains a possible solution.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you

hi

authors: Orangeplumber iapicca zgramming


text:
webview_flutter package still lacks  selection menu feature

Yes there is another thread https://github.com/flutter/flutter/issues/27924 about this.
& Yes nobody cares about this (it seems)
Why such a crucial feauture is missing?
Why is nobody eligible answering this?
Current status:
When you tap on a "file upload" button in webview it gives this on android amulator Sdk29
E/InputMethodManager( 7077): b/117267690: Failed to get fallback IMM with expected displayId=4 actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{ef64f93 VFEDHVC.. .F...... 0,0-1080,1808}
Tested on several different emulators and real devices some show different logs some show nothing.

Please do not knowingly open duplicate issues .
Duplicate of https://github.com/flutter/flutter/issues/27924

source: gharchive/issue

authors: jonahwilliams verisay

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
Engine Compilation Error: ninja -C out/android_debug_unopt_x86 fails with error "TypeError: a bytes-like object is required, not 'str'"

The ninja -C out/android_debug_unopt_x86 fails with the error "TypeError: a bytes-like object is required, not 'str'".
Logs
ninja: Entering directory `out/android_debug_unopt_x86'
[399/3760] ACTION //flutter/shell/platform/a...ll_java(//build/toolchain/android:clang_x86)
FAILED: gen/flutter/shell/platform/android/flutter_shell_java.d flutter_embedding_debug.jar flutter_embedding_debug.jar.md5.stamp flutter_embedding_debug-sources.jar flutter_embedding_debug-sources.jar.md5.stamp
python ../../build/android/gyp/javac.py --depfile=gen/flutter/shell/platform/android/flutter_shell_java.d --jar-path=flutter_embedding_debug.jar --jar-source-path=flutter_embedding_debug-sources.jar --jar-source-base-dir=/home/krishna/Desktop/flutter_dev/engine/src/flutter/shell/platform/android --classpath=\[\"../../third_party/android_tools/sdk/platforms/android-29/android.jar\",\ \"../../third_party/android_embedding_dependencies/lib/guava-27.0.1-jre.jar\",\ \"../../third_party/android_embedding_dependencies/lib/icu4j-53.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/hamcrest-library-1.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/junit-4.13.jar\",\ \"../../third_party/android_embedding_dependencies/lib/utils-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/savedstate-1.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/error_prone_annotations-2.2.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/support-annotations-28.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/annotation-1.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/ant-launcher-1.8.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-project-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/activity-1.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/android-all-4.1.2_r1-robolectric-r1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/lifecycle-runtime-2.2.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-profile-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-ant-tasks-2.1.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/plexus-interpolation-1.11.jar\",\ \"../../third_party/android_embedding_dependencies/lib/asm-commons-7.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/junit-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar\",\ \"../../third_party/android_embedding_dependencies/lib/animal-sniffer-annotations-1.17.jar\",\ \"../../third_party/android_embedding_dependencies/lib/sqlite4java-0.282.jar\",\ \"../../third_party/android_embedding_dependencies/lib/lifecycle-viewmodel-2.1.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/asm-util-7.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/shadowapi-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-artifact-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/asm-analysis-7.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-artifact-manager-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/resources-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/plugins-maven-dependency-resolver-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/j2objc-annotations-1.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/xercesMinimal-1.9.6.2.jar\",\ \"../../third_party/android_embedding_dependencies/lib/monitor-1.2.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/protobuf-java-2.6.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/bcprov-jdk15on-1.52.jar\",\ \"../../third_party/android_embedding_dependencies/lib/wagon-file-1.0-beta-6.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-plugin-registry-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/mockito-all-1.10.19.jar\",\ \"../../third_party/android_embedding_dependencies/lib/asm-tree-7.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/versionedparcelable-1.1.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/ant-1.8.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/collection-1.1.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-settings-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/jsr305-3.0.2.jar\",\ \"../../third_party/android_embedding_dependencies/lib/lifecycle-common-2.2.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/failureaccess-1.0.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/robolectric-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/core-runtime-2.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/annotations-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/auto-common-0.8.jar\",\ \"../../third_party/android_embedding_dependencies/lib/loader-1.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-error-diagnostics-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/lifecycle-livedata-2.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/classworlds-1.1-alpha-2.jar\",\ \"../../third_party/android_embedding_dependencies/lib/shadows-framework-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/viewpager-1.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/customview-1.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/wagon-provider-api-1.0-beta-6.jar\",\ \"../../third_party/android_embedding_dependencies/lib/core-1.1.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/lifecycle-livedata-core-2.0.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/plexus-container-default-1.0-alpha-9-stable-1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/wagon-http-shared-1.0-beta-6.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-model-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/nekohtml-1.9.6.2.jar\",\ \"../../third_party/android_embedding_dependencies/lib/checker-qual-2.5.2.jar\",\ \"../../third_party/android_embedding_dependencies/lib/javax.inject-1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/android-all-8.1.0-robolectric-4611349.jar\",\ \"../../third_party/android_embedding_dependencies/lib/wagon-http-lightweight-1.0-beta-6.jar\",\ \"../../third_party/android_embedding_dependencies/lib/sandbox-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/annotation-1.1.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/lifecycle-common-java8-2.2.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/core-common-2.1.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/utils-reflector-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/backport-util-concurrent-3.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/asm-7.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/accessibility-test-framework-2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/fragment-1.1.0.jar\",\ \"../../third_party/android_embedding_dependencies/lib/javax.annotation-api-1.3.2.jar\",\ \"../../third_party/android_embedding_dependencies/lib/maven-repository-metadata-2.2.1.jar\",\ \"../../third_party/android_embedding_dependencies/lib/pluginapi-4.3.jar\",\ \"../../third_party/android_embedding_dependencies/lib/auto-service-1.0-rc4.jar\",\ \"../../third_party/android_embedding_dependencies/lib/plexus-utils-1.5.15.jar\"\] --bootclasspath=../../third_party/android_tools/sdk/platforms/android-29/android.jar ../../flutter/shell/platform/android/io/flutter/Log.java ../../flutter/shell/platform/android/io/flutter/app/FlutterActivity.java ../../flutter/shell/platform/android/io/flutter/app/FlutterActivityDelegate.java ../../flutter/shell/platform/android/io/flutter/app/FlutterActivityEvents.java ../../flutter/shell/platform/android/io/flutter/app/FlutterApplication.java ../../flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java ../../flutter/shell/platform/android/io/flutter/app/FlutterPluginRegistry.java ../../flutter/shell/platform/android/io/flutter/embedding/android/AndroidKeyProcessor.java ../../flutter/shell/platform/android/io/flutter/embedding/android/AndroidTouchProcessor.java ../../flutter/shell/platform/android/io/flutter/embedding/android/DrawableSplashScreen.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterActivity.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterActivityAndFragmentDelegate.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterActivityLaunchConfigs.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterEngineConfigurator.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterEngineProvider.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterFragment.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterFragmentActivity.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterSplashView.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterSurfaceView.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterTextureView.java ../../flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java ../../flutter/shell/platform/android/io/flutter/embedding/android/RenderMode.java ../../flutter/shell/platform/android/io/flutter/embedding/android/SplashScreen.java ../../flutter/shell/platform/android/io/flutter/embedding/android/SplashScreenProvider.java ../../flutter/shell/platform/android/io/flutter/embedding/android/TransparencyMode.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/FlutterEngine.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/FlutterEngineCache.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/FlutterEnginePluginRegistry.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/FlutterJNI.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/FlutterShellArgs.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/dart/DartExecutor.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/dart/DartMessenger.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/dart/PlatformMessageHandler.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/loader/FlutterLoader.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/loader/ResourceCleaner.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/loader/ResourceExtractor.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/loader/ResourcePaths.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/FlutterPlugin.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/PluginRegistry.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ActivityAware.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ActivityControlSurface.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ActivityPluginBinding.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverAware.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverControlSurface.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverPluginBinding.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/contentprovider/ContentProviderAware.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/contentprovider/ContentProviderControlSurface.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/contentprovider/ContentProviderPluginBinding.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/lifecycle/HiddenLifecycleReference.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/service/ServiceAware.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/service/ServiceControlSurface.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/service/ServicePluginBinding.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/shim/ShimPluginRegistry.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/plugins/shim/ShimRegistrar.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/renderer/FlutterRenderer.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/renderer/FlutterUiDisplayListener.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/renderer/RenderSurface.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/AccessibilityChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/KeyEventChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/LifecycleChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/LocalizationChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/NavigationChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformViewsChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/SettingsChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/SystemChannel.java ../../flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java ../../flutter/shell/platform/android/io/flutter/plugin/common/ActivityLifecycleListener.java ../../flutter/shell/platform/android/io/flutter/plugin/common/BasicMessageChannel.java ../../flutter/shell/platform/android/io/flutter/plugin/common/BinaryCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java ../../flutter/shell/platform/android/io/flutter/plugin/common/ErrorLogResult.java ../../flutter/shell/platform/android/io/flutter/plugin/common/EventChannel.java ../../flutter/shell/platform/android/io/flutter/plugin/common/FlutterException.java ../../flutter/shell/platform/android/io/flutter/plugin/common/JSONMessageCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/common/JSONMethodCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/common/JSONUtil.java ../../flutter/shell/platform/android/io/flutter/plugin/common/MessageCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/common/MethodCall.java ../../flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java ../../flutter/shell/platform/android/io/flutter/plugin/common/MethodCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java ../../flutter/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/common/StandardMethodCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/common/StringCodec.java ../../flutter/shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java ../../flutter/shell/platform/android/io/flutter/plugin/editing/TextInputPlugin.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/AccessibilityEventsDelegate.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/PlatformPlugin.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/PlatformView.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewFactory.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewRegistry.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewRegistryImpl.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewsAccessibilityDelegate.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/SingleViewPresentation.java ../../flutter/shell/platform/android/io/flutter/plugin/platform/VirtualDisplayController.java ../../flutter/shell/platform/android/io/flutter/util/PathUtils.java ../../flutter/shell/platform/android/io/flutter/util/Preconditions.java ../../flutter/shell/platform/android/io/flutter/util/Predicate.java ../../flutter/shell/platform/android/io/flutter/view/AccessibilityBridge.java ../../flutter/shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java ../../flutter/shell/platform/android/io/flutter/view/FlutterCallbackInformation.java ../../flutter/shell/platform/android/io/flutter/view/FlutterMain.java ../../flutter/shell/platform/android/io/flutter/view/FlutterNativeView.java ../../flutter/shell/platform/android/io/flutter/view/FlutterRunArguments.java ../../flutter/shell/platform/android/io/flutter/view/FlutterView.java ../../flutter/shell/platform/android/io/flutter/view/TextureRegistry.java ../../flutter/shell/platform/android/io/flutter/view/VsyncWaiter.java gen/flutter/shell/platform/android/io/flutter/BuildConfig.java
Traceback (most recent call last):
  File "../../build/android/gyp/javac.py", line 342, in <module>
    sys.exit(main(sys.argv[1:]))
  File "../../build/android/gyp/javac.py", line 303, in main
    java_files)
  File "../../build/android/gyp/javac.py", line 143, in DoJavac
    input_strings=javac_cmd)
  File "/home/krishna/Desktop/flutter_dev/engine/src/build/android/gyp/util/md5_check.py", line 30, in CallAndRecordIfStale
    function()
  File "../../build/android/gyp/javac.py", line 136, in Compile
    stderr_filter=ColorJavacOutput)
  File "/home/krishna/Desktop/flutter_dev/engine/src/build/android/gyp/util/build_utils.py", line 161, in CheckOutput
    stderr = stderr_filter(stderr)
  File "../../build/android/gyp/javac.py", line 56, in ColorJavacOutput
    return "\n".join(map(ApplyColor, output.split("\n")))
TypeError: a bytes-like object is required, not 'str'
[404/3760] CXX obj/third_party/boringssl/src/ssl/ssl.t1_lib.o
ninja: build stopped: subcommand failed.

I've tried converting line 56 of src/build/android/gyp/javac.py to return a bytes array using the encode() method but it still returns the same error.

Hi @krishnakeshan
I am not sure this is related to Flutter
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Hi @TahaTesser This error pops up when compiling the engine as instructed on this page:
https://github.com/flutter/flutter/wiki/Compiling-the-engine
This is not an issue with running a Flutter application hence there's no code or flutter run output.

What version of Python is configured in your environment?  If Python3 is first in your path, then try switching to Python2.

@jason-simmons I think switching to Python2 ought to resolve the issue (I'm away from my machine, I'll update as soon as I get back), but shouldn't we be using Python3 i.e. shouldn't we update the scripts to be Python3 scripts? I'll update my answer on the success of using Python2 soon as I'm back on my machine.

We need Python 2 for engine build scripts. I reworded https://github.com/flutter/flutter/issues/53002 into a feature request for Python 3 in the engine build scripts.

authors: TahaTesser chinmaygarde jason-simmons krishnakeshan


text:
http response does not return cookies.

this is a question in case there is something going on with http response in flutter web.
the response does not return any cookie in response header.
it works if i run it in android but when i converted it to flutter web only content length and content type are available in the response header.
is there something that needs to be done perhaps in the flutter code for web?
backend is expressjs and tried cookie  httpOnly true and false, even secure set as false but same result.
thoughts?

Hi @chitgoks
Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you

[√] Flutter (Channel beta, 1.19.0-4.2.pre, on Microsoft Windows [Version 10.0.18363.900], locale en-US)
• Flutter version 1.19.0-4.2.pre at c:\flutter
• Framework revision 9b9b543d92 (3 days ago), 2020-06-22 12:19:28 -0700
• Engine revision 9a28c3bcf4
• Dart version 2.9.0 (build 2.9.0-14.1.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\chitg\AppData\Local\Android\Sdk
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = C:\Users\chitg\AppData\Local\Android\Sdk
• 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 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[!] VS Code, 64-bit edition (version 1.46.1)
• VS Code at C:\Program Files\Microsoft VS Code
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (2 available)
• Web Server • web-server • web-javascript • Flutter Tools
• Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.116
! Doctor found issues in 1 category.

This is the command i use flutter run -d web-server --web-port 7357 but adding --verbose to it errors out.
Here is the code to fetch the request
static Future<http.Response> login(Map<String, dynamic> data) async {
  http.post('$url/api/users/login', body: { 'email': 'test@test.com');
}

Then I do
http.Response res = await Web.login(user.toJson());
print(res.headers);

Only content-length and content-type are shown in Flutter Web. If in Mobile, the Set-Cookie response header is available. Also tried to access the same URL using Javascript AJAX code, it works fine.

Thing is, i checked the network tab in dev console. the response header has set-cookie in it. but the res.headers in dart code does not show any.

Hi @chitgoks
From what i can see it seems like http thing
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments, possibly providing a minimal reproducible code sample that does not use 3rd party plugins, and I will reopen it.
Thank you

actually its the same thing with httpclient
i tried the internal class too. ill post screenshot

authors: TahaTesser chitgoks


text:
SliverAppBar's flexibleSpace glitch on iOS when NestedScrollView's body is a ScrollView

This issue was fixed in #29264. I am referencing it here because the issue still happens and the steps still apply: cc @Piinks
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.24.0-4.0.pre.165, on Mac OS X 10.15.4 19E287 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.50.0)
[✓] Connected device (3 available)

@peerwaya
I tried the code sample from original issue and verified on iphone 6s (OS 14) using latest master version, but didn't see the issue.
RPReplay-Final1604055750.MP4.zip

flutter doctor -v

[✓] Flutter (Channel master, 1.24.0-4.0.pre.165, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.24.0-4.0.pre.165 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision e444b1e3fa (7 hours ago), 2020-10-30 00:41:52 -0400
    • Engine revision 99cc50dfff
    • Dart version 2.11.0 (build 2.11.0-266.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (5 available)
    • Darshan's iphone (mobile)           • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.0
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                     • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Web Server (web)                    • web-server                               •
      web-javascript • Flutter Tools
    • Chrome (web)                        • chrome                                   •
      web-javascript • Google Chrome 86.0.4240.111

• No issues found!

Can you provide video of the issue you are facing along with device and OS version ?

Device: Iphone XR. iOS 14.0.1

RPReplay_Final1604012713.MP4.zip
Device: Iphone XR. iOS 14.0.1

It happens when you do a fast fling, it bounces back

@peerwaya
I am unable to replicate it on device (6s) and simulator (iphone SE) I tried using the sample code mentioned in original issue.Are you using any different code sample to replicate it ?

`
import 'package:flutter/material.dart';
void main() => runApp(App());
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
brightness: Brightness.light,
primaryColor: Colors.indigo,
accentColor: Colors.pinkAccent,
),
home: const Me(),
);
}
}
class _TabContent extends StatefulWidget {
const _TabContent({
Key key,
@required this.index,
})  : assert(index != null),
super(key: key);
final int index;
@override
_TabContentState createState() => _TabContentState();
}
class _TabContentState extends State<_TabContent>
with AutomaticKeepAliveClientMixin {
@override
bool get wantKeepAlive => true;
@override
Widget build(BuildContext context) {
super.build(context); // AutomaticKeepAliveClientMixin
return CustomScrollView(
key: PageStorageKey('tab-${widget.index}'),
slivers: [
SliverOverlapInjector(
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
),
SliverList(
delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) {
return ListTile(
title: Text('Item $index'),
);
},
childCount: 50,
),
)
],
);
}
}
class _TabBarDelegate extends SliverPersistentHeaderDelegate {
_TabBarDelegate({this.controller, this.isScrolled = false});
final TabController controller;
final bool isScrolled;
@override
double get minExtent => 48;
@override
double get maxExtent => 48;
@override
Widget build(
BuildContext context, double shrinkOffset, bool overlapsContent) {
return Material(
color: Theme.of(context).appBarTheme.color,
elevation: 0,
// elevation: isScrolled || (shrinkOffset > maxExtent - minExtent) ? 4.0 : 0,
child: TabBar(
controller: controller,
indicatorColor: Theme.of(context).colorScheme.primary,
tabs: [
Tab(
icon: Icon(
Icons.calendar_today,
),
),
Tab(
icon: Icon(Icons.favorite),
),
],
),
);
}
@override
bool shouldRebuild(covariant _TabBarDelegate oldDelegate) {
return oldDelegate.controller != controller;
}
}
class Me extends StatefulWidget {
const Me({
Key key,
}) : super(key: key);
@override
State createState() {
return _MeState();
}
}
class _MeState extends State with TickerProviderStateMixin {
final List listItems = [];
final ScrollController _scrollController = ScrollController();
TabController _tabController;
@override
void initState() {
super.initState();
_tabController = TabController(length: 2, vsync: this);
}
List _buildHeaderSlivers(
BuildContext context, bool innerBoxIsScrolled) {
return [
SliverToBoxAdapter(
child: Container(
padding: EdgeInsets.all(16.0).copyWith(bottom: 0),
color: Theme.of(context).appBarTheme.color,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
width: 100.0,
height: 100.0,
child: Stack(
fit: StackFit.expand,
children: [
CircleAvatar(
backgroundColor: Theme.of(context).colorScheme.primary,
child: Icon(
Icons.person_outline,
color: Theme.of(context).colorScheme.onPrimary,
size: 64.0,
),
),
Container(
alignment: Alignment.bottomRight,
child: Container(
height: 24.0,
width: 24.0,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Theme.of(context).scaffoldBackgroundColor,
borderRadius: BorderRadius.all(
Radius.circular(20),
),
),
child: Icon(
Icons.add_circle,
size: 24.0,
color: Theme.of(context).colorScheme.primary,
),
),
)
],
),
),
const SizedBox(
height: 16.0,
),
Text(
'John Doe',
style: Theme.of(context).textTheme.headline5,
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
// _buildUsername(context),
const SizedBox(
height: 8.0,
),
OutlineButton(
textColor: Theme.of(context).colorScheme.primary,
highlightedBorderColor: Theme.of(context).colorScheme.primary,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(4.0),
),
child: Text(
'Edit Profile',
),
onPressed: () {},
)
],
),
),
),
SliverOverlapAbsorber(
// This widget takes the overlapping behavior of the SliverAppBar,
// and redirects it to the SliverOverlapInjector below. If it is
// missing, then it is possible for the nested "inner" scroll view
// below to end up under the SliverAppBar even when the inner
// scroll view thinks it has not been scrolled.
// This is not necessary if the "headerSliverBuilder" only builds
// widgets that do not overlap the next sliver.
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
sliver: SliverPersistentHeader(
pinned: true,
delegate: _TabBarDelegate(
controller: _tabController, isScrolled: innerBoxIsScrolled),
),
),
];
}
@override
Widget build(BuildContext context) {
return SizedBox.expand(
child: Column(
children: [
AppBar(
leading: IconButton(
icon: Icon(Icons.person_add),
onPressed: () {},
),
centerTitle: true,
title: Text(
"Me",
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.headline6,
),
// backgroundColor: Theme.of(context).canvasColor,
brightness: Theme.of(context).brightness,
elevation: 0,
actions: [
IconButton(
icon: Icon(Icons.more_horiz),
onPressed: () {},
)
],
),
Expanded(
child: NestedScrollView(
headerSliverBuilder: _buildHeaderSlivers,
controller: _scrollController,
body: TabBarView(controller: _tabController, children: [
_TabContent(
key: PageStorageKey('tab0'),
index: 0,
),
_TabContent(
key: PageStorageKey('tab1'),
index: 1,
),
]),
),
)
],
),
);
}
}
`

import 'package:flutter/material.dart';

void main() => runApp(App());

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        brightness: Brightness.light,
        primaryColor: Colors.indigo,
        accentColor: Colors.pinkAccent,
      ),
      home: const Me(),
    );
  }
}

class _TabContent extends StatefulWidget {
  const _TabContent({
    Key key,
    @required this.index,
  })  : assert(index != null),
        super(key: key);

  final int index;

  @override
  _TabContentState createState() => _TabContentState();
}

class _TabContentState extends State<_TabContent>
    with AutomaticKeepAliveClientMixin {
  @override
  bool get wantKeepAlive => true;

  @override
  Widget build(BuildContext context) {
    super.build(context); // AutomaticKeepAliveClientMixin
    return CustomScrollView(
      key: PageStorageKey<String>('tab-${widget.index}'),
      slivers: <Widget>[
        SliverOverlapInjector(
          handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
        ),
        SliverList(
          delegate: SliverChildBuilderDelegate(
            (BuildContext context, int index) {
              return ListTile(
                title: Text('Item $index'),
              );
            },
            childCount: 50,
          ),
        )
      ],
    );
  }
}

class _TabBarDelegate extends SliverPersistentHeaderDelegate {
  _TabBarDelegate({this.controller, this.isScrolled = false});

  final TabController controller;
  final bool isScrolled;
  @override
  double get minExtent => 48;

  @override
  double get maxExtent => 48;

  @override
  Widget build(
      BuildContext context, double shrinkOffset, bool overlapsContent) {
    return Material(
      color: Theme.of(context).appBarTheme.color,
      elevation: 0,
      // elevation: isScrolled || (shrinkOffset > maxExtent - minExtent) ? 4.0 : 0,
      child: TabBar(
        controller: controller,
        indicatorColor: Theme.of(context).colorScheme.primary,
        tabs: <Widget>[
          Tab(
            icon: Icon(
              Icons.calendar_today,
            ),
          ),
          Tab(
            icon: Icon(Icons.favorite),
          ),
        ],
      ),
    );
  }

  @override
  bool shouldRebuild(covariant _TabBarDelegate oldDelegate) {
    return oldDelegate.controller != controller;
  }
}

class Me extends StatefulWidget {
  const Me({
    Key key,
  }) : super(key: key);
  @override
  State<StatefulWidget> createState() {
    return _MeState();
  }
}

class _MeState extends State<Me> with TickerProviderStateMixin {
  final List<String> listItems = [];

  final ScrollController _scrollController = ScrollController();

  TabController _tabController;

  @override
  void initState() {
    super.initState();
    _tabController = TabController(length: 2, vsync: this);
  }

  List<Widget> _buildHeaderSlivers(
      BuildContext context, bool innerBoxIsScrolled) {
    return <Widget>[
      SliverToBoxAdapter(
        child: Container(
          padding: EdgeInsets.all(16.0).copyWith(bottom: 0),
          color: Theme.of(context).appBarTheme.color,
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              SizedBox(
                width: 100.0,
                height: 100.0,
                child: Stack(
                  fit: StackFit.expand,
                  children: <Widget>[
                    CircleAvatar(
                      backgroundColor: Theme.of(context).colorScheme.primary,
                      child: Icon(
                        Icons.person_outline,
                        color: Theme.of(context).colorScheme.onPrimary,
                        size: 64.0,
                      ),
                    ),
                    Container(
                      alignment: Alignment.bottomRight,
                      child: Container(
                        height: 24.0,
                        width: 24.0,
                        alignment: Alignment.center,
                        decoration: BoxDecoration(
                          color: Theme.of(context).scaffoldBackgroundColor,
                          borderRadius: BorderRadius.all(
                            Radius.circular(20),
                          ),
                        ),
                        child: Icon(
                          Icons.add_circle,
                          size: 24.0,
                          color: Theme.of(context).colorScheme.primary,
                        ),
                      ),
                    )
                  ],
                ),
              ),
              const SizedBox(
                height: 16.0,
              ),
              Text(
                'John Doe',
                style: Theme.of(context).textTheme.headline5,
                maxLines: 1,
                overflow: TextOverflow.ellipsis,
              ),
              // _buildUsername(context),
              const SizedBox(
                height: 8.0,
              ),
              OutlineButton(
                textColor: Theme.of(context).colorScheme.primary,
                highlightedBorderColor: Theme.of(context).colorScheme.primary,
                shape: RoundedRectangleBorder(
                  borderRadius: BorderRadius.circular(4.0),
                ),
                child: Text(
                  'Edit Profile',
                ),
                onPressed: () {},
              )
            ],
          ),
        ),
      ),
      SliverOverlapAbsorber(
        // This widget takes the overlapping behavior of the SliverAppBar,
        // and redirects it to the SliverOverlapInjector below. If it is
        // missing, then it is possible for the nested "inner" scroll view
        // below to end up under the SliverAppBar even when the inner
        // scroll view thinks it has not been scrolled.
        // This is not necessary if the "headerSliverBuilder" only builds
        // widgets that do not overlap the next sliver.
        handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
        sliver: SliverPersistentHeader(
          pinned: true,
          delegate: _TabBarDelegate(
              controller: _tabController, isScrolled: innerBoxIsScrolled),
        ),
      ),
    ];
  }

  @override
  Widget build(BuildContext context) {
    return SizedBox.expand(
      child: Column(
        children: [
          AppBar(
            leading: IconButton(
              icon: Icon(Icons.person_add),
              onPressed: () {},
            ),
            centerTitle: true,
            title: Text(
              "Me",
              textAlign: TextAlign.center,
              style: Theme.of(context).textTheme.headline6,
            ),
            // backgroundColor: Theme.of(context).canvasColor,
            brightness: Theme.of(context).brightness,
            elevation: 0,
            actions: <Widget>[
              IconButton(
                icon: Icon(Icons.more_horiz),
                onPressed: () {},
              )
            ],
          ),
          Expanded(
            child: NestedScrollView(
              headerSliverBuilder: _buildHeaderSlivers,
              controller: _scrollController,
              body: TabBarView(controller: _tabController, children: [
                _TabContent(
                  key: PageStorageKey('tab0'),
                  index: 0,
                ),
                _TabContent(
                  key: PageStorageKey('tab1'),
                  index: 1,
                ),
              ]),
            ),
          )
        ],
      ),
    );
  }
}

@peerwaya
Tried again on latest stable and latest master by sliding fast but didn't notice the glitch.
RPReplay-Final1604901451.MP4.zip

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.4 19E2269, locale en-IN)
    • Flutter version 1.22.3 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 8874f21e79 (10 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

As you said, the issue happens rarely and not consistently, I'd suggest you to keep an eye on the pattern and frequency with which you observe the issue. If you have concrete steps to replicate it, feel free to write in the comments and I'll reopen it.
Closing.

authors: darshankawar peerwaya


text:
Error while running the web application with SKIA enabled

I get the following error when I run my web application with SKIA enabled. It works fine without SKIA.
The following UnimplementedError was thrown during a scheduler callback:
UnimplementedError

When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 216:49  throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/layer_scene_builder.dart 145:5   pushColorFilter
packages/flutter/src/rendering/layer.dart 1500:26                                                                          addToScene
packages/flutter/src/rendering/layer.dart 440:5                                                                            [_addToSceneWithRetainedRendering]
packages/flutter/src/rendering/layer.dart 1027:14                                                                          addChildrenToScene
packages/flutter/src/rendering/layer.dart 1293:5                                                                           addToScene
packages/flutter/src/rendering/layer.dart 440:5                                                                            [_addToSceneWithRetainedRendering]
packages/flutter/src/rendering/layer.dart 1027:14                                                                          addChildrenToScene
packages/flutter/src/rendering/layer.dart 1164:5                                                                           addToScene
packages/flutter/src/rendering/layer.dart 440:5                                                                            [_addToSceneWithRetainedRendering]
packages/flutter/src/rendering/layer.dart 1027:14                                                                          addChildrenToScene
packages/flutter/src/rendering/layer.dart 1999:5                                                                           addToScene
packages/flutter/src/rendering/layer.dart 440:5                                                                            [_addToSceneWithRetainedRendering]
packages/flutter/src/rendering/layer.dart 1027:14                                                                          addChildrenToScene
packages/flutter/src/rendering/layer.dart 1164:5                                                                           addToScene
packages/flutter/src/rendering/layer.dart 440:5                                                                            [_addToSceneWithRetainedRendering]
packages/flutter/src/rendering/layer.dart 1027:14                                                                          addChildrenToScene
packages/flutter/src/rendering/layer.dart 1164:5                                                                           addToScene
packages/flutter/src/rendering/layer.dart 440:5                                                                            [_addToSceneWithRetainedRendering]
packages/flutter/src/rendering/layer.dart 1027:14                                                                          addChildrenToScene
packages/flutter/src/rendering/layer.dart 1609:5                                                                           addToScene
packages/flutter/src/rendering/layer.dart 765:5                                                                            buildScene
packages/flutter/src/rendering/view.dart 231:30                                                                            compositeFrame
packages/flutter/src/rendering/binding.dart 458:18                                                                         drawFrame
packages/flutter/src/widgets/binding.dart 895:13                                                                           drawFrame
packages/flutter/src/rendering/binding.dart 320:5                                                                          [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1117:15                                                                        [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1055:9                                                                         handleDrawFrame
packages/flutter/src/scheduler/binding.dart 864:7                                                                          <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19       internalCallback
════════════════════════════════════════════════════════════════════════════════════════════════════

Version
Flutter (Channel beta, 1.24.0-10.2.pre, on Microsoft Windows [Version 10.0.18363.1139], locale en-IN)

@melwinlobo18
can you provide a minimal reproducible code sample

Hey @iapicca , I have used SKIA with one of my projects before and it used to work fine. I'm using it now in one of the company projects and it's throwing the above error. There's a lot of code and I'm not sure what's causing the problem.
Is there any other way I could provide you more info without the code sample?

@melwinlobo18
for an issue to be workable need to be reproducible,
but please do not share your production code
try to provide instead

a minimal reproducible code sample

@melwinlobo18
As suggested above, we would need a minimal complete reproducible code sample that shows the issue you are facing. You may try to narrow down your code implementation and see which part is throwing the exception and then clone a sample code that we can use to replicate the issue.
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

authors: darshankawar iapicca melwinlobo18 pedromassangocode


text:
ParentDataElement': is not true.

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @yuanjinsongquyi
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.