flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.03k stars 27.42k forks source link

[animations] OpenContainer - Close using SliverAppBar's onStretchTrigger #64081

Open TomBursch opened 4 years ago

TomBursch commented 4 years ago

I am trying to close the Animations' OpenContainer using the SliverAppBar's onStretchTrigger. This throws an exception.

Steps to Reproduce

import 'package:animations/animations.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        appBar: AppBar(),
        body: Padding(
          padding: const EdgeInsets.all(8.0),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: [
              OpenContainer(
                closedBuilder: (context, _) => Padding(
                  padding: const EdgeInsets.all(8.0),
                  child: Text('Container'),
                ),
                openBuilder: (context, _) => ContainerPage(),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

class ContainerPage extends StatelessWidget {
  const ContainerPage({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return CustomScrollView(
      physics: BouncingScrollPhysics(),
      slivers: [
        SliverAppBar(
          stretch: true,
          onStretchTrigger: () async {
            Navigator.of(context).pop();
          },
        ),
        SliverFillRemaining(),
      ],
    );
  }
}

Expected results: Close the OpenContainer route.

Actual results: Throws an exception due to failed assertion.

Logs ``` $ flutter run --verbose [ +87 ms] executing: [/mnt/hdd/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +21 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] bbfbf1770cca2da7c82e887e4e4af910034800b6 [ ] executing: [/mnt/hdd/Development/flutter/] git tag --contains HEAD [ +148 ms] Exit code 0 from: git tag --contains HEAD [ +1 ms] 1.20.2 [ +6 ms] executing: [/mnt/hdd/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/mnt/hdd/Development/flutter/] git ls-remote --get-url origin [ +3 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +39 ms] executing: [/mnt/hdd/Development/flutter/] git rev-parse --abbrev-ref HEAD [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +28 ms] Artifact Instance of 'AndroidMavenArtifacts' 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. [ +1 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. [ +10 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb devices -l [ +30 ms] List of devices attached emulator-5554 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1 [ +7 ms] /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell getprop [ +25 ms] Artifact Instance of 'AndroidMavenArtifacts' 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. [ ] 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. [ +145 ms] Generating /home/tombursch/Desktop/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +20 ms] ro.hardware = ranchu [ +21 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +34 ms] Starting incremental build... [ +3 ms] Initializing file store [ +11 ms] Skipping target: gen_localizations [ +7 ms] complete [ +6 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode... [ +8 ms] /mnt/hdd/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /mnt/hdd/Development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /mnt/hdd/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tools.ONNQEM/flutter_tool.HEUFWS/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill [ +16 ms] executing: /mnt/hdd/Development/android/sdk/build-tools/30.0.1/aapt dump xmltree /home/tombursch/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +6 ms] Exit code 0 from: /mnt/hdd/Development/android/sdk/build-tools/30.0.1/aapt dump xmltree /home/tombursch/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.bug" (Raw: "com.example.bug") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=22) A: android:label(0x01010001)="bug" (Raw: "bug") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=28) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=42) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0a0001 E: meta-data (line=52) A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable") A: android:resource(0x01010025)=@0x7f040000 E: intent-filter (line=56) E: action (line=57) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=59) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=66) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +7 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +22 ms] Exit code 0 from: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ ] --------- beginning of main 08-18 21:28:49.046 E/GnssHAL_GnssInterface( 1790): gnssSvStatusCb: b: input svInfo.flags is 8 [ ] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ +16 ms] Exit code 0 from: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1 [ ] --------- beginning of main 08-18 21:28:49.046 E/GnssHAL_GnssInterface( 1790): gnssSvStatusCb: b: input svInfo.flags is 8 [ +9 ms] <- compile package:bug/main.dart [ +9 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb version [ +21 ms] Android Debug Bridge version 1.0.41 Version 30.0.3-6597393 Installed as /mnt/hdd/Development/android/sdk/platform-tools/adb [ +2 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb start-server [ +7 ms] Building APK [ +16 ms] Running Gradle task 'assembleDebug'... [ +1 ms] gradle.properties already sets `android.enableR8` [ +1 ms] Using gradle from /home/tombursch/Desktop/bug/android/gradlew. [ ] /home/tombursch/Desktop/bug/android/gradlew mode: 33277 rwxrwxr-x. [ +7 ms] executing: /mnt/hdd/bin/android-studio/jre/bin/java -version [ +51 ms] Exit code 0 from: /mnt/hdd/bin/android-studio/jre/bin/java -version [ ] openjdk version "1.8.0_212-release" OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode) [ +3 ms] executing: [/home/tombursch/Desktop/bug/android/] /home/tombursch/Desktop/bug/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/home/tombursch/Desktop/bug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [+2872 ms] > Task :app:compileFlutterBuildDebug [ ] [ +91 ms] executing: [/mnt/hdd/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +22 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] bbfbf1770cca2da7c82e887e4e4af910034800b6 [ ] [ ] executing: [/mnt/hdd/Development/flutter/] git tag --contains HEAD [ ] [ +150 ms] Exit code 0 from: git tag --contains HEAD [ ] [ ] 1.20.2 [ ] [ +6 ms] executing: [/mnt/hdd/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/mnt/hdd/Development/flutter/] git ls-remote --get-url origin [ ] [ +2 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +31 ms] executing: [/mnt/hdd/Development/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +22 ms] Artifact Instance of 'AndroidMavenArtifacts' 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. [ ] [ +1 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. [ ] [ +4 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidMavenArtifacts' 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. [ ] [ +63 ms] Initializing file store [ ] [ +13 ms] Skipping target: gen_localizations [ ] [ +5 ms] kernel_snapshot: Starting due to {} [ +1 ms] [ +24 ms] /mnt/hdd/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /mnt/hdd/Development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /mnt/hdd/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /home/tombursch/Desktop/bug/.packages --output-dill /home/tombursch/Desktop/bug/.dart_tool/flutter_build/c40bec4533331ab7592dfe30f1858608/app.dill --depfile /home/tombursch/Desktop/bug/.dart_tool/flutter_build/c40bec4533331ab7592dfe30f1858608/kernel_snapshot.d package:bug/main.dart [+3979 ms] [+5255 ms] kernel_snapshot: Complete [ +499 ms] [ +483 ms] debug_android_application: Starting due to {} [ +100 ms] [ +172 ms] debug_android_application: Complete [ +599 ms] [ +539 ms] Persisting file store [ ] [ +6 ms] Done persisting file store [ ] [ +6 ms] build succeeded. [ ] [ +7 ms] "flutter assemble" took 6,592ms. [ ] [ +2 ms] ensureAnalyticsSent: 0ms [ ] [ +1 ms] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +99 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :app:preDebugBuild UP-TO-DATE [ ] > Task :app:compileDebugAidl NO-SOURCE [ ] > Task :app:checkDebugManifest UP-TO-DATE [ ] > Task :app:compileDebugRenderscript NO-SOURCE [ ] > Task :app:generateDebugBuildConfig UP-TO-DATE [ ] > Task :app:cleanMergeDebugAssets [ ] > Task :app:mergeDebugShaders UP-TO-DATE [ ] > Task :app:compileDebugShaders UP-TO-DATE [ ] > Task :app:generateDebugAssets UP-TO-DATE [ ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE [ ] > Task :app:mergeDebugAssets [ +198 ms] > Task :app:copyFlutterAssetsDebug [ ] > Task :app:generateDebugResValues UP-TO-DATE [ ] > Task :app:generateDebugResources UP-TO-DATE [ ] > Task :app:mergeDebugResources UP-TO-DATE [ +1 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [ ] > Task :app:processDebugManifest UP-TO-DATE [ ] > Task :app:processDebugResources UP-TO-DATE [ ] > Task :app:compileDebugKotlin UP-TO-DATE [ ] > Task :app:javaPreCompileDebug UP-TO-DATE [ ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE [ ] > Task :app:compileDebugSources UP-TO-DATE [ ] > Task :app:processDebugJavaRes NO-SOURCE [ ] > Task :app:mergeDebugJavaResource UP-TO-DATE [ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [ ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ ] > Task :app:mergeExtDexDebug UP-TO-DATE [ ] > Task :app:mergeDexDebug UP-TO-DATE [ ] > Task :app:validateSigningDebug UP-TO-DATE [ +95 ms] > Task :app:signingConfigWriterDebug UP-TO-DATE [ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE [ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ ] Compatible side by side NDK version was not found. [ +899 ms] > Task :app:packageDebug [ +144 ms] > Task :app:assembleDebug [ ] BUILD SUCCESSFUL in 9s [ ] 31 actionable tasks: 6 executed, 25 up-to-date [ +355 ms] Running Gradle task 'assembleDebug'... (completed in 9.9s) [ +86 ms] calculateSha: LocalDirectory: '/home/tombursch/Desktop/bug/build/app/outputs/flutter-apk'/app.apk [ +38 ms] calculateSha: reading file took 38us [ +421 ms] calculateSha: computing sha took 421us [ +4 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk. [ +2 ms] executing: /mnt/hdd/Development/android/sdk/build-tools/30.0.1/aapt dump xmltree /home/tombursch/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +4 ms] Exit code 0 from: /mnt/hdd/Development/android/sdk/build-tools/30.0.1/aapt dump xmltree /home/tombursch/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ ] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9") A: package="com.example.bug" (Raw: "com.example.bug") A: platformBuildVersionCode=(type 0x10)0x1c A: platformBuildVersionName=(type 0x10)0x9 E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c E: uses-permission (line=14) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=22) A: android:label(0x01010001)="bug" (Raw: "bug") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=28) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=42) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0a0001 E: meta-data (line=52) A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable") A: android:resource(0x01010025)=@0x7f040000 E: intent-filter (line=56) E: action (line=57) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=59) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=66) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ ] Stopping app 'app.apk' on Android SDK built for x86. [ ] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.bug [ +29 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.bug [ +21 ms] package:com.example.bug [ +1 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bug.sha1 [ +14 ms] 57a14c6140adf88e1d0e19c5eb5d1c5140f8c081 [ ] Installing APK. [ +1 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb version [ +4 ms] Android Debug Bridge version 1.0.41 Version 30.0.3-6597393 Installed as /mnt/hdd/Development/android/sdk/platform-tools/adb [ ] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb start-server [ +4 ms] Installing build/app/outputs/flutter-apk/app.apk... [ ] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 install -t -r /home/tombursch/Desktop/bug/build/app/outputs/flutter-apk/app.apk [ +568 ms] Performing Streamed Install Success [ ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 0.6s) [ ] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell echo -n d5a4cb21370243a0a2075b1231898dd79486874e > /data/local/tmp/sky.com.example.bug.sha1 [ +17 ms] Android SDK built for x86 startApp [ +1 ms] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.bug/com.example.bug.MainActivity [ +30 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) } [ ] Waiting for observatory port to be available... [+1168 ms] Observatory URL on device: http://127.0.0.1:38381/qsgiDCyMsvM=/ [ ] executing: /mnt/hdd/Development/android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:38381 [ +8 ms] 46725 [ ] Forwarded host port 46725 to device port 38381 for Observatory [ +5 ms] Caching compiled dill [ +30 ms] Connecting to service protocol: http://127.0.0.1:46725/qsgiDCyMsvM=/ [ +273 ms] Successfully connected to service protocol: http://127.0.0.1:46725/qsgiDCyMsvM=/ [ ] Waiting for Android SDK built for x86 to report its views... [ +8 ms] Waiting for Android SDK built for x86 to report its views... (completed in 7ms) [ +9 ms] DevFS: Creating new filesystem on the device (null) [ +28 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugLSERYO/bug/) [ +2 ms] Updating assets [ +62 ms] Syncing files to device Android SDK built for x86... [ +1 ms] Scanning asset files [ +1 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ ] <- recompile package:bug/main.dart fd7c7998-5fef-457c-bb0b-0f695d601108 [ ] <- fd7c7998-5fef-457c-bb0b-0f695d601108 [ +104 ms] Updating files [ +134 ms] DevFS: Sync finished [ ] Syncing files to device Android SDK built for x86... (completed in 242ms) [ ] Synced 0.9MB. [ ] <- accept [ +5 ms] Connected to _flutterView/0xcd30cc10. [ +1 ms] Flutter run key commands. [ +1 ms] r Hot reload. 🔥🔥🔥 [ ] R Hot restart. [ ] h Repeat this help message. [ ] d Detach (terminate "flutter run" but leave application running). [ ] c Clear the screen [ ] q Quit (terminate the application on the device). [ ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:46725/qsgiDCyMsvM=/ [+6803 ms] E/flutter (28267): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1709 pos 13: 'debugDoingThisResize || debugDoingThisLayout || [ ] E/flutter (28267): (RenderObject.debugActiveLayout == parent && _size._canBeUsedByParent)': RenderBox.size accessed beyond the scope of resize, layout, or permitted parent access. RenderBox can always access its own size, otherwise, the only object that is allowed to read RenderBox.size is its parent, if they have said they will. It you hit this assert trying to access a child's size, pass "parentUsesSize: true" to that child's layout(). [ ] E/flutter (28267): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39) [ ] E/flutter (28267): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) [ ] E/flutter (28267): #2 RenderBox.size. (package:flutter/src/rendering/box.dart:1709:13) [ ] E/flutter (28267): #3 RenderBox.size (package:flutter/src/rendering/box.dart:1722:6) [ ] E/flutter (28267): #4 _OpenContainerRoute._getSize (package:animations/src/open_container.dart:656:19) [ ] E/flutter (28267): #5 _OpenContainerRoute._takeMeasurements (package:animations/src/open_container.dart:635:26) [ ] E/flutter (28267): #6 _OpenContainerRoute.didPop (package:animations/src/open_container.dart:620:5) [ ] E/flutter (28267): #7 _RouteEntry.pop (package:flutter/src/widgets/navigator.dart:2489:15) [ ] E/flutter (28267): #8 NavigatorState.pop (package:flutter/src/widgets/navigator.dart:3800:13) [ ] E/flutter (28267): #9 ContainerPage.build. (package:bug/openContainerBug.dart:41:35) [ ] E/flutter (28267): #10 RenderSliverPersistentHeader.layoutChild (package:flutter/src/rendering/sliver_persistent_header.dart:196:44) [ ] E/flutter (28267): #11 RenderSliverScrollingPersistentHeader.performLayout (package:flutter/src/rendering/sliver_persistent_header.dart:338:5) [ ] E/flutter (28267): #12 RenderObject.layout (package:flutter/src/rendering/object.dart:1769:7) [ ] E/flutter (28267): #13 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:471:13) [ ] E/flutter (28267): #14 RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1465:12) [ ] E/flutter (28267): #15 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1374:20) [ ] E/flutter (28267): #16 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1632:7) [ ] E/flutter (28267): #17 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:889:18) [ ] E/flutter (28267): #18 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:404:19) [ ] E/flutter (28267): #19 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:867:13) [ ] E/flutter (28267): #20 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5) [ ] E/flutter (28267): #21 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15) [ ] E/flutter (28267): #22 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1056:9) [ ] E/flutter (28267): #23 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:972:5) [ ] E/flutter (28267): #24 _rootRun (dart:async/zone.dart:1190:13) [ ] E/flutter (28267): #25 _CustomZone.run (dart:async/zone.dart:1093:19) [ ] E/flutter (28267): #26 _CustomZone.runGuarded (dart:async/zone.dart:997:7) [ ] E/flutter (28267): #27 _invoke (dart:ui/hooks.dart:253:10) [ ] E/flutter (28267): #28 _drawFrame (dart:ui/hooks.dart:211:3) [ ] E/flutter (28267): ``` ``` $ flutter analyze Analyzing bug... No issues found! (ran in 1.3s) ``` ``` $ flutter doctor -v [✓] Flutter (Channel stable, 1.20.2, on Linux, locale en_US.UTF-8) • Flutter version 1.20.2 at /mnt/hdd/Development/flutter • Framework revision bbfbf1770c (5 days ago), 2020-08-13 08:33:09 -0700 • Engine revision 9d5b21729f • Dart version 2.9.1 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1) • Android SDK at /mnt/hdd/Development/android/sdk • Platform android-30, build-tools 30.0.1 • ANDROID_HOME = /mnt/hdd/Development/android/sdk • Java binary at: /mnt/hdd/bin/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [!] Android Studio (version 3.6) • Android Studio at /mnt/hdd/bin/android-studio ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code (version 1.48.0) • VS Code at /usr/share/code • Flutter extension version 3.13.2 [✓] Connected device (1 available) • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator) ! Doctor found issues in 1 category. ```
pedromassangocode commented 4 years ago

Hi @TomBursch Can you please provide a complete sample code? The code provide is missing the OpenContainer class! Tank you

TomBursch commented 4 years ago

Hi @pedromassangocode, The OpenContainer class is part of the Animations package Thanks

pedromassangocode commented 4 years ago

Able to reproduce this on latest master channel.

Logs ``` Performing hot restart... Syncing files to device iPhone 11 Pro Max... Restarted application in 830ms. [VERBOSE-2:ui_dart_state.cc(171)] Unhandled Exception: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1720 pos 13: 'debugDoingThisResize || debugDoingThisLayout || (RenderObject.debugActiveLayout == parent && _size._canBeUsedByParent)': RenderBox.size accessed beyond the scope of resize, layout, or permitted parent access. RenderBox can always access its own size, otherwise, the only object that is allowed to read RenderBox.size is its parent, if they have said they will. It you hit this assert trying to access a child's size, pass "parentUsesSize: true" to that child's layout(). #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39) #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) #2 RenderBox.size. (package:flutter/src/rendering/box.dart:1720:13) #3 RenderBox.size (package:flutter/src/rendering/box.dart:1733:6) #4 _OpenContainerRoute._getSize (package:animations/src/open_container.dart<…> ```
flutter doctor -v ``` [✓] Flutter (Channel master, 1.21.0-10.0.pre.138, on Mac OS X 10.15.6 19G2021, locale en) • Flutter version 1.21.0-10.0.pre.138 at /Users/pedromassango/dev/SDKs/flutter_master • Framework revision 3562b3c0de (27 hours ago), 2020-08-18 01:46:02 -0400 • Engine revision 02de4eb7ce • Dart version 2.10.0 (build 2.10.0-37.0.dev) [!] Android toolchain - develop for Android devices (Android SDK version 30.0.1) • Android SDK at /Users/pedromassango/Library/Android/sdk • Platform android-30, build-tools 30.0.1 • 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) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [✓] Xcode - develop for iOS and macOS (Xcode 11.6) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.6, Build version 11E708 • 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 not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [✓] IntelliJ IDEA Community Edition (version 2020.2) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 48.1.4 • Dart plugin version 202.6397.47 [!] VS Code (version 1.48.0) • VS Code at /Applications/Visual Studio Code.app/Contents ✗ Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (4 available) • sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator) • macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.6 19G2021 • Web Server (web) • web-server • web-javascript • Flutter Tools • Chrome (web) • chrome • web-javascript • Google Chrome 84.0.4147.135 ! Doctor found issues in 3 categories. ```
danagbemava-nc commented 1 year ago

Still reproduces on the latest versions of flutter.

Steps to reproduce

logs ``` Launching lib/main.dart on iPhone 14 Pro in debug mode... Xcode build done. 33.6s Connecting to VM Service at ws://127.0.0.1:64299/rN1geA4Q_N4=/ws [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/rendering/box.dart': Failed assertion: line 2009 pos 13: 'debugDoingThisResize || debugDoingThisLayout || _computingThisDryLayout || (RenderObject.debugActiveLayout == parent && size._canBeUsedByParent)': RenderBox.size accessed beyond the scope of resize, layout, or permitted parent access. RenderBox can always access its own size, otherwise, the only object that is allowed to read RenderBox.size is its parent, if they have said they will. It you hit this assert trying to access a child's size, pass "parentUsesSize: true" to that child's layout(). #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61) #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5) #2 RenderBox.size. #3 RenderBox.size #4 _OpenContainerRoute._getSize (package:ani<…> Application finished. Exited ```
updated sample ```dart import 'package:animations/animations.dart'; import 'package:flutter/material.dart'; void main(List args) { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', home: Scaffold( appBar: AppBar(), body: Padding( padding: const EdgeInsets.all(8.0), child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ OpenContainer( closedBuilder: (context, _) => const Padding( padding: EdgeInsets.all(8.0), child: Text('Container'), ), openBuilder: (context, _) => const ContainerPage(), ), ], ), ), ), ); } } class ContainerPage extends StatelessWidget { const ContainerPage({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return CustomScrollView( physics: const BouncingScrollPhysics(), slivers: [ SliverAppBar( stretch: true, onStretchTrigger: () async { Navigator.of(context).pop(); }, ), const SliverFillRemaining(), ], ); } } ```
flutter doctor -v ``` [✓] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-GB) • Flutter version 3.3.9 on channel stable at /Users/nexus/dev/sdks/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision b8f7f1f986 (10 days ago), 2022-11-23 06:43:51 +0900 • Engine revision 8f2221fbef • Dart version 2.18.5 • DevTools version 2.15.0 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/nexus/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio • Android Studio at /Applications/Android Studio Preview.app/Contents • 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 ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio. [✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • 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.13+0-b1751.21-8125866) [!] Android Studio • Android Studio at /Applications/Android Studio Preview 2.app/Contents • 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 ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio. [✓] Android Studio (version 2021.3) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents • 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.13+0-b1751.21-8125866) [✓] Android Studio (version 2021.3) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents • 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.13+0-b1751.21-8125866) [✓] VS Code (version 1.73.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.54.0 [✓] Connected device (3 available) • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0.1 22A400 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.71 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 2 categories. ``` ``` [!] Flutter (Channel master, 3.7.0-2.0.pre.9, on macOS 13.0.1 22A400 darwin-arm64, locale en-GB) • Flutter version 3.7.0-2.0.pre.9 on channel master at /Users/nexus/dev/sdks/flutters ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path. ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path. • Upstream repository https://github.com/flutter/flutter.git • Framework revision ce94230281 (9 hours ago), 2022-12-01 19:13:07 -0800 • Engine revision 025aefc7af • Dart version 2.19.0 (build 2.19.0-444.0.dev) • DevTools version 2.20.0 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/nexus/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio • Android Studio at /Applications/Android Studio Preview.app/Contents • 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 ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio. [✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • 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.13+0-b1751.21-8125866) [!] Android Studio • Android Studio at /Applications/Android Studio Preview 2.app/Contents • 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 ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio. [✓] Android Studio (version 2021.3) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents • 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.13+0-b1751.21-8125866) [✓] Android Studio (version 2021.3) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents • 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.13+0-b1751.21-8125866) [✓] VS Code (version 1.73.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.54.0 [✓] Connected device (3 available) • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0.1 22A400 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.71 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 3 categories. ```