Repository: flutter
Issue: [Proposal] Throw error message when Navigator pop on default route instead of black screen
Labels: framework,f: routes,c: proposal,P3,team-framework,triaged-framework

## Steps to Reproduce

1. Execute `flutter run` on the code sample 
2. Tap on Elevated button

**Expected results:**
Error message should be thrown similar to below step
- Run the same code with using the `builder` instead of `home`, Error is thrown without any black screen.

**Actual results:** 
black screen with no errors

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Screen1(),
    );
  }
}

class Screen1 extends StatelessWidget {
  const Screen1({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          child: const Text('Hello, World!'),
          onPressed: () {
            Navigator.pop(context);           
          }
        ),
      ),
    );
  }
}
```

</details>

<details>
  <summary>Logs</summary>

```
flutter run -v
[ +122 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +141 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] d6260f127fe3f88c98231243b387b48448479bff
[   +1 ms] executing: [C:\src\flutter/] git tag --points-at d6260f127fe3f88c98231243b387b48448479bff
[ +118 ms] Exit code 0 from: git tag --points-at d6260f127fe3f88c98231243b387b48448479bff
[   +1 ms] 3.4.0-17.2.pre
[  +88 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +89 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/beta
[        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[  +92 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +157 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[ +120 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] beta
[ +159 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +101 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +120 ms] List of devices attached
                    emulator-5554          device product:sdk_gphone_x86 model:sdk_gphone_x86 device:generic_x86_arm
                    transport_id:3
[  +18 ms] C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +108 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +10 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +233 ms] Skipping pub get: version match.
[ +127 ms] Generating
C:\Users\moham\source\sim\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +118 ms] ro.hardware = ranchu
[  +21 ms] Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling
software
           rendering with "--enable-software-rendering".
[  +79 ms] Initializing file store
[  +32 ms] Skipping target: gen_localizations
[  +17 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have
updated contents: C:\Users\moham\source\sim\.dart_tool\package_config_subset}
[  +79 ms] gen_dart_plugin_registrant: Complete
[   +4 ms] Skipping target: _composite
[  +11 ms] complete
[  +22 ms] Launching lib\main.dart on sdk gphone x86 in debug mode...
[  +13 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\src\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\moham\AppData\Local\Temp\flutter_tools.19d29d95\flutter_tool.8011daa5\app.dill --packages
C:\Users\moham\source\sim\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error
--enable-experiment=alternative-invalidation-strategy
[  +20 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\build-tools\33.0.0\aapt dump xmltree
C:\Users\moham\source\sim\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +71 ms] Exit code 0 from: C:\Users\moham\AppData\Local\Android\sdk\build-tools\33.0.0\aapt dump xmltree
C:\Users\moham\source\sim\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +3 ms] 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)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.sim" (Raw: "com.example.sim")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=17)
                 A: android:label(0x01010001)="sim" (Raw: "sim")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=23)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.sim.MainActivity" (Raw: "com.example.sim.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   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=38)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=42)
                     E: action (line=43)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=45)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
                       "android.intent.category.LAUNCHER")
                 E: meta-data (line=52)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=56)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=59)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[  +14 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat
-v time -t 1
[  +42 ms] <- compile package:sim/main.dart
[ +194 ms] --------- beginning of main
                    10-13 13:52:15.491 E/WakeLock(31526): GCM_HB_ALARM release without a matched acquire!
[  +36 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +180 ms] Android Debug Bridge version 1.0.41
                    Version 33.0.2-8557947
                    Installed as C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +7 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +140 ms] Building APK
[  +35 ms] Running Gradle task 'assembleDebug'...
[  +11 ms] Using gradle from C:\Users\moham\source\sim\android\gradlew.bat.
[  +32 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +278 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +2 ms] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +4 ms] executing: [C:\Users\moham\source\sim\android/] C:\Users\moham\source\sim\android\gradlew.bat
--full-stacktrace --info -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=C:\Users\moham\source\sim\lib\main.dart
-Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root
assembleDebug
[+2341 ms] Initialized native services in: C:\Users\moham\.gradle\native
[   +2 ms] Initialized jansi services in: C:\Users\moham\.gradle\native
[ +957 ms] The client will now receive all logging from the daemon (pid: 5916). The daemon log file:
C:\Users\moham\.gradle\daemon\7.5\daemon-5916.out.log
[  +15 ms] Starting 4th build in daemon [uptime: 1 hrs 37 mins 46.435 secs, performance: 100%]
[   +1 ms] Using 4 worker leases.
[   +1 ms] Now considering [C:\Users\moham\source\sim\android] as hierarchies to watch
[  +20 ms] Watching the file system is configured to be enabled if available
[  +11 ms] File system watching is active
[ +227 ms] Starting Build
[ +691 ms] Settings evaluated using settings file 'C:\Users\moham\source\sim\android\settings.gradle'.
[  +76 ms] Projects loaded. Root project using build file 'C:\Users\moham\source\sim\android\build.gradle'.
[  +10 ms] Included projects: [root project 'android', project ':app']
[ +231 ms] > Configure project :app
[   +2 ms] Evaluating project ':app' using build file 'C:\Users\moham\source\sim\android\app\build.gradle'.
[   +2 ms] Using Kotlin Gradle Plugin gradle70 variant
[   +2 ms] Parsed shrinker version: 3.2.47
[   +2 ms] > Configure project :
[   +1 ms] Evaluating root project 'android' using build file 'C:\Users\moham\source\sim\android\build.gradle'.
[   +1 ms] All projects evaluated.
[   +1 ms] Task name matched 'assembleDebug'
[   +2 ms] Selected primary task 'assembleDebug' from project :
[   +1 ms] Resolve mutations for :app:preBuild (Thread[included builds,5,main]) started.
[   +2 ms] Resolve mutations for :app:preBuild (Thread[included builds,5,main]) completed. Took 0.0 secs.
[   +4 ms] :app:preBuild (Thread[included builds,5,main]) started.
[   +3 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] Skipping task ':app:preBuild' as it has no actions.
[   +3 ms] :app:preBuild (Thread[included builds,5,main]) completed. Took 0.004 secs.
[   +3 ms] :app:preDebugBuild (Thread[Execution worker Thread 2,5,main]) started.
[   +3 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +1 ms] Skipping task ':app:preDebugBuild' as it has no actions.
[   +1 ms] :app:preDebugBuild (Thread[Execution worker Thread 2,5,main]) completed. Took 0.001 secs.
[   +2 ms] Resolve mutations for :app:mergeDebugNativeDebugMetadata (Thread[Execution worker Thread 2,5,main]) started.
[   +1 ms] Resolve mutations for :app:mergeDebugNativeDebugMetadata (Thread[Execution worker Thread 2,5,main])
completed. Took 0.0 secs.
[   +5 ms] :app:mergeDebugNativeDebugMetadata (Thread[Execution worker Thread 2,5,main]) started.
[   +1 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[   +2 ms] Skipping task ':app:mergeDebugNativeDebugMetadata' as it has no source files and no previous output files.
[   +1 ms] :app:mergeDebugNativeDebugMetadata (Thread[Execution worker Thread 2,5,main]) completed. Took 0.0 secs.
[   +2 ms] Resolve mutations for :app:compileFlutterBuildDebug (Thread[Execution worker Thread 2,5,main]) started.
[   +2 ms] Resolve mutations for :app:compileFlutterBuildDebug (Thread[Execution worker Thread 2,5,main]) completed.
Took 0.005 secs.
[   +1 ms] :app:compileFlutterBuildDebug (Thread[Execution worker Thread 2,5,main]) started.
[ +150 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[   +2 ms] Caching disabled for task ':app:compileFlutterBuildDebug' because:
[   +1 ms] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to
the following reasons:
[   +2 ms]   - Gradle detected a problem with the following location:
'C:\Users\moham\source\sim\build\app\intermediates\assets\debug\mergeDebugAssets'. Reason: Task
':app:compressDebugAssets' uses this output of task ':app:copyFlutterAssetsDebug' without declaring an explicit or
implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#implicit_dependency for more details
about this problem.
[   +2 ms] Invalidating VFS because task ':app:compressDebugAssets' failed validation
[   +1 ms] Not watching anything anymore
[   +1 ms] Watching 0 directory hierarchies to track changes
[   +1 ms] producer locations for task group 0 (Thread[Execution worker,5,main]) started.
[   +1 ms] :app:createDebugApkListingFileRedirect (Thread[Execution worker Thread 3,5,main]) started.
[   +1 ms] producer locations for task group 0 (Thread[Execution worker,5,main]) completed. Took 0.0 secs.
[   +2 ms] > Task :app:createDebugApkListingFileRedirect UP-TO-DATE
[   +1 ms] Skipping task ':app:createDebugApkListingFileRedirect' as it is up-to-date.
[   +2 ms] :app:createDebugApkListingFileRedirect (Thread[Execution worker Thread 3,5,main]) completed. Took 0.002 secs.
[   +2 ms] Resolve mutations for :app:assembleDebug (Thread[Execution worker,5,main]) started.
[   +1 ms] Resolve mutations for :app:assembleDebug (Thread[Execution worker,5,main]) completed. Took 0.0 secs.
[   +1 ms] :app:assembleDebug (Thread[Execution worker Thread 3,5,main]) started.
[   +1 ms] > Task :app:assembleDebug
[   +3 ms] Caching disabled for task ':app:assembleDebug' because:
[   +1 ms]   Build cache is disabled
[   +2 ms] Task ':app:assembleDebug' is not up-to-date because:
[   +1 ms]   Task has not declared any outputs despite executing actions.
[   +2 ms] :app:assembleDebug (Thread[Execution worker Thread 3,5,main]) completed. Took 0.313 secs.
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[   +1 ms] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from
your own scripts or plugins.
[   +1 ms] See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings
[   +3 ms] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure
correctness.
[   +1 ms] Please consult deprecation warnings for more details.
[   +2 ms] BUILD SUCCESSFUL in 8s
[   +1 ms] 36 actionable tasks: 5 executed, 31 up-to-date
[   +1 ms] Watched directory hierarchies: []
[ +526 ms] Running Gradle task 'assembleDebug'... (completed in 10.1s)
[  +64 ms] calculateSha: LocalDirectory: 'C:\Users\moham\source\sim\build\app\outputs\flutter-apk'/app.apk
[+1481 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +8 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\build-tools\33.0.0\aapt dump xmltree
C:\Users\moham\source\sim\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +70 ms] Exit code 0 from: C:\Users\moham\AppData\Local\Android\sdk\build-tools\33.0.0\aapt dump xmltree
C:\Users\moham\source\sim\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +4 ms] 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)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.sim" (Raw: "com.example.sim")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=17)
                 A: android:label(0x01010001)="sim" (Raw: "sim")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=23)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.sim.MainActivity" (Raw: "com.example.sim.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   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=38)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=42)
                     E: action (line=43)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=45)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
                       "android.intent.category.LAUNCHER")
                 E: meta-data (line=52)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=56)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=59)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[  +10 ms] Stopping app 'app.apk' on sdk gphone x86.
[   +4 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am
force-stop com.example.sim
[ +145 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list
packages com.example.sim
[ +130 ms] package:com.example.sim
[   +3 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell cat
/data/local/tmp/sky.com.example.sim.sha1
[+1159 ms] ba1b216044d2366a331bfaddffae01541b867cca
[   +3 ms] Latest build already installed.
[   +1 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat
-v time -t 1
[  +96 ms] --------- beginning of main
           10-13 13:52:44.244 I/cmd     ( 2210): oneway function results will be dropped but finished with status OK and
           parcel size 4
[  +13 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a
android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x20000000 --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true com.example.sim/com.example.sim.MainActivity
[ +162 ms] Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x20000000
cmp=com.example.sim/.MainActivity (has extras) }
[   +3 ms] Waiting for observatory port to be available...
[+2039 ms] Observatory URL on device: http://127.0.0.1:41143/4umAZ-8eElU=/
[   +3 ms] executing: C:\Users\moham\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0
tcp:41143
[  +96 ms] 55919
[   +2 ms] Forwarded host port 55919 to device port 41143 for Observatory
[  +13 ms] Caching compiled dill
[  +61 ms] Connecting to service protocol: http://127.0.0.1:55919/4umAZ-8eElU=/
[ +882 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:55919/4umAZ-8eElU=/.
[ +447 ms] DDS is listening at http://127.0.0.1:55922/Al3KlGYFfyo=/.
[ +131 ms] Successfully connected to service protocol: http://127.0.0.1:55919/4umAZ-8eElU=/
[ +194 ms] DevFS: Creating new filesystem on the device (null)
[ +106 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.sim/code_cache/simGTNPNH/sim/)
[   +7 ms] Updating assets
[ +241 ms] Syncing files to device sdk gphone x86...
[   +9 ms] Compiling dart to kernel with 0 updated files
[   +1 ms] Processing bundle.
[   +2 ms] <- recompile package:sim/main.dart 531956ec-1f1e-4d9e-be14-23fd5c721ce3
[   +1 ms] <- 531956ec-1f1e-4d9e-be14-23fd5c721ce3
[   +7 ms] Bundle processing done.
[+3413 ms] Updating files.
[   +2 ms] DevFS: Sync finished
[   +6 ms] Syncing files to device sdk gphone x86... (completed in 3.4s)
[   +3 ms] Synced 0.0MB.
[   +6 ms] <- accept
[   +6 ms] Connected to _flutterView/0xebf04ec0.
[   +6 ms] Flutter run key commands.
[   +7 ms] r Hot reload.
[   +3 ms] R Hot restart.
[   +1 ms] h List all available interactive commands.
[   +3 ms] d Detach (terminate "flutter run" but leave application running).
[   +3 ms] c Clear the screen
[   +2 ms] q Quit (terminate the application on the device).
[   +1 ms]  Running with sound null safety
[   +3 ms] An Observatory debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:55922/Al3KlGYFfyo=/
[   +5 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 is available at:
           http://127.0.0.1:9101?uri=http://127.0.0.1:55922/Al3KlGYFfyo=/
```
</details>
<details>
<summary>Flutter doctor -v</summary>
<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
flutter doctor -v
[√] Flutter (Channel beta, 3.4.0-17.2.pre, on Microsoft Windows [Version 10.0.19043.2006], locale en-IN)
    • Flutter version 3.4.0-17.2.pre on channel beta at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d6260f127f (3 weeks ago), 2022-09-21 13:33:49 -0500
    • Engine revision 3950c6140a
    • Dart version 2.19.0 (build 2.19.0-146.2.beta)
    • DevTools version 2.16.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\moham\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] IntelliJ IDEA Community Edition (version 2022.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.4
    • 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

[√] VS Code (version 1.72.0)
    • VS Code at C:\Users\moham\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.50.0

[√] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)       • windows       • windows-x64    • Microsoft Windows [Version 10.0.19043.2006]
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 106.0.5249.103
    • Edge (web)              • edge          • web-javascript • Microsoft Edge 106.0.1370.37

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
```
</details>