[flutter_markdown] null safety issue

When using flutter markdown with custom block parsers, a Null check operator used on a null value error is thrown by the widgets library that can be traced back to:
MarkdownBuilder._addParentInlineIfNeeded package:flutter_markdown/src/builder.dart:571
The 'tag' attribute is potentially null but is force-unwrapped to attempt to get the styles.
Further up, in
Steps to Reproduce

Run flutter create bug.
Update the files as follows:

main.dart (replace with below):

minimal code sample
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:markdown/markdown.dart' as md;

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Bug Demo',
      theme: ThemeData(
        primarySwatch: Colors.deepPurple,
      ),
      home: Markdown(
        selectable: true,
        data: '''
# Just to showcase the bug

<testTag />
''',
        extensionSet: md.ExtensionSet(
          md.ExtensionSet.gitHubFlavored.blockSyntaxes,
          [
            md.EmojiSyntax(),
            ...md.ExtensionSet.gitHubFlavored.inlineSyntaxes,
          ],
        ),
        builders: {
          TestMarkdownElementBuilder.id: TestMarkdownElementBuilder(),
        },
        blockSyntaxes: [
          TestBlock(RegExp(r'<testTag([^>]*)/>')),
        ],
      ),
    );
  }
}

class TestBlock extends md.BlockSyntax {
  final RegExp pattern;
  TestBlock(this.pattern);

  @override
  md.Node? parse(md.BlockParser parser) {
    parser.advance();
    return md.Element(TestMarkdownElementBuilder.id, []);
  }
}

class TestMarkdownElementBuilder extends MarkdownElementBuilder {
  static const String id = 'aCustomElement';

  @override
  Widget visitElementAfter(md.Element? element, TextStyle? preferredStyle) {
    // Build
    return Container(
      margin: EdgeInsets.symmetric(horizontal: 0, vertical: 2),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.all(Radius.circular(6)),
        color: Colors.black,
      ),
      padding: const EdgeInsets.all(5.0),
      child: Text(
        'Example',
        style: TextStyle(color: Colors.white),
        textAlign: TextAlign.center,
      ),
    );
  }
}

pubspec.yaml

name: bug
description: A Flutter project to showcase an issue for Github report
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.0.0+1

environment:
  sdk: ">=2.12.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2
  flutter_markdown: ^0.6.2

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true

Run the application in debug mode. If it matters, I am using VSCode and testing on the Nexus 6 API 28 Emulator running on a late-2015 Mac Book Pro.

Expected results:
I expected that the page would render a container around the word "Test" (based on the null fallback because I am not defining element?.textContent)
Actual results:
Flutter throws a build error because there is no tag argument when it gets passed to MarkdownBuilder._addParentInlineIfNeeded package:flutter_markdown/src/builder.dart:571, but the tag is force-unwrapped anyways.

Logs
flutter run --verbose
[Kflutter run --verbose
[ +114 ms] executing: sysctl hw.optional.arm64
[  +23 ms] Exit code 1 from: sysctl hw.optional.arm64
[   +1 ms] sysctl: unknown oid 'hw.optional.arm64'
[   +9 ms] executing: [/Users/admin/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +27 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +1 ms] executing: [/Users/admin/Development/flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[  +74 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] 2.2.1
[   +8 ms] executing: [/Users/admin/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/admin/Development/flutter/] git ls-remote --get-url origin
[  +15 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +119 ms] executing: [/Users/admin/Development/flutter/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +9 ms] executing: sw_vers -productName
[  +16 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.4
[        ] executing: sw_vers -buildVersion
[  +16 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20F71
[  +76 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 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.
[  +59 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb devices -l
[  +15 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[+1262 ms] Exit code 0 from: xcrun xcodebuild -version
[        ] Xcode 12.5.1
           Build version 12E507
[   +3 ms] executing: xcrun xcdevice list --timeout 2
[   +5 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +57 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:7

***REMOVED DEVICE LOGS TO GET UNDER CHAR LIMIT OF 65536***

[   +9 ms] /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +87 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 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.
[  +85 ms] Skipping pub get: version match.
[ +142 ms] Generating /Users/admin/Desktop/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +61 ms] ro.hardware = ranchu
[  +14 ms] Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling software rendering with
           "--enable-software-rendering".
[  +32 ms] Initializing file store
[  +13 ms] Skipping target: gen_localizations
[   +8 ms] complete
[   +7 ms] Launching lib/main.dart on AOSP on IA Emulator in debug mode...
[   +7 ms] /Users/admin/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/admin/Development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/admin/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/var/folders/6c/szh_wptd4nq2m77zb5fzp6xr0000gn/T/flutter_tools.o16sf0/flutter_tool.ISDH1f/app.dill --packages
/Users/admin/Desktop/bug/.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/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +14 ms] executing: /Users/admin/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/admin/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +18 ms] Exit code 0 from: /Users/admin/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/admin/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +11 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +20 ms] <- compile package:bug/main.dart
[  +67 ms] --------- beginning of main
           06-25 22:43:02.111 I/GnssLocationProvider( 1941): WakeLock released by handleMessage(REPORT_SV_STATUS, 0,
           com.android.server.location.GnssLocationProvider$SvStatusInfo@1aebd86)
[  +23 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb version
[  +64 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as /Users/admin/Library/Android/sdk/platform-tools/adb
[   +2 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb start-server
[  +11 ms] Building APK
[  +24 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from /Users/admin/Desktop/bug/android/gradlew.
[ +306 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +15 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util
.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna
.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea
.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application
in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>53283","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription"
:"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project

File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All
documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphics
Switching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicropho
neUsageDescription":"An application in Android Studio requests access to the device's
microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests
access to the user's location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea
"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinim
umSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents
folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads
folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network
volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>53283. Copyright JetBrains s.r.o., (c)
2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +6 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[  +90 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +2 ms] executing: [/Users/admin/Desktop/bug/android/] /Users/admin/Desktop/bug/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/Users/admin/Desktop/bug/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1184 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > 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:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +77 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +498 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[  +97 ms] > 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:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[  +97 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[  +87 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 1s
[        ] 32 actionable tasks: 4 executed, 28 up-to-date
[ +384 ms] Running Gradle task 'assembleDebug'... (completed in 2,850ms)
[  +83 ms] calculateSha: LocalDirectory: '/Users/admin/Desktop/bug/build/app/outputs/flutter-apk'/app.apk
[ +518 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +5 ms] executing: /Users/admin/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/admin/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +13 ms] Exit code 0 from: /Users/admin/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/admin/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +4 ms] Stopping app 'app.apk' on AOSP on IA Emulator.
[        ] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.bug
[ +568 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.bug
[ +212 ms] package:com.example.bug
[   +3 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bug.sha1
[ +185 ms] b9cf27e831ae7bc21b9d8e8b83c469d2b1c489fa
[   +1 ms] Latest build already installed.
[        ] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[ +113 ms] --------- beginning of main
                    06-25 22:43:06.799 D/EGL_emulation( 2178): eglMakeCurrent: 0xec396c60: ver 3 0 (tinfo 0xebe16e10)
[  +16 ms] executing: /Users/admin/Library/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
[ +195 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+2642 ms] Observatory URL on device: http://<IP_ADDRESS>:46207/nJCRR5ND7gc=/
[   +1 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:46207
[  +19 ms] 57193
[        ] Forwarded host port 57193 to device port 46207 for Observatory
[+2543 ms] Caching compiled dill
[  +91 ms] Connecting to service protocol: http://<IP_ADDRESS>:57193/nJCRR5ND7gc=/
[+1466 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:57193/nJCRR5ND7gc=/.
[ +177 ms] DDS is listening at http://<IP_ADDRESS>:57204/GMU09S3ygcE=/.
[  +84 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:57193/nJCRR5ND7gc=/
[  +42 ms] DevFS: Creating new filesystem on the device (null)
[  +75 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugYVJSSM/bug/)
[   +2 ms] Updating assets
[ +136 ms] Syncing files to device AOSP on IA Emulator...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +4 ms] <- recompile package:bug/main.dart 7998b42e-d5ff-4c06-b896-db188ad85341
[        ] <- 7998b42e-d5ff-4c06-b896-db188ad85341
[ +115 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device AOSP on IA Emulator... (completed in 125ms)
[   +1 ms] Synced 0.0MB.
[   +1 ms] <- accept
[  +21 ms] Connected to _flutterView/0xebe20010.
[   +5 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] 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).
[        ] 💪 Running with sound null safety 💪
[   +1 ms] An Observatory debugger and profiler on AOSP on IA Emulator is available at: http://<IP_ADDRESS>:57204/GMU09S3ygcE=/
[ +601 ms] The Flutter DevTools debugger and profiler on AOSP on IA Emulator is available at:
                    http://<IP_ADDRESS>:9102?uri=http%3A%2F%2F<IP_ADDRESS>%3A57204%2FGMU09S3ygcE%3D%2F
[+1310 ms]
                    ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
                    The following _CastError was thrown building Container(padding: EdgeInsets(15.0, 30.0, 15.0, 0.0)):
                    Null check operator used on a null value

                    The relevant error-causing widget was:
                      Container file:///Users/admin/Desktop/bug/lib/main.dart:73:15

                    When the exception was thrown, this was the stack:
                    #0      MarkdownBuilder._addParentInlineIfNeeded (package:flutter_markdown/src/builder.dart:550:37)
                    #1      MarkdownBuilder.visitElementBefore (package:flutter_markdown/src/builder.dart:235:7)
                    #2      Element.accept (package:markdown/src/ast.dart:46:17)
                    #3      MarkdownBuilder.build (package:flutter_markdown/src/builder.dart:172:12)
                    #4      _MarkdownWidgetState._parseMarkdown (package:flutter_markdown/src/widget.dart:321:25)
                    #5      _MarkdownWidgetState.didUpdateWidget (package:flutter_markdown/src/widget.dart:275:7)
                    #6      StatefulElement.update (package:flutter/src/widgets/framework.dart:4761:57)
                    #7      Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #8      SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #9      Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #10     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #11     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #12     StatelessElement.update (package:flutter/src/widgets/framework.dart:4655:5)
                    #13     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #14     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5596:32)
                    #15     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6243:17)
                    #16     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #17     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #18     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #19     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #20     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #21     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #22     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #23     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #24     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #25     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #26     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #27     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #28     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #29     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #30     StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #31     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #32     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #33     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #34     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #35     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #36     ProxyElement.update (package:flutter/src/widgets/framework.dart:4922:5)
                    #37     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #38     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #39     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #40     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #41     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #42     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #43     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #44     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #45     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #47     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #48     StatelessElement.update (package:flutter/src/widgets/framework.dart:4655:5)
                    #49     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #51     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #52     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #53     StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #54     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #56     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #57     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #58     StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #59     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #61     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #62     ProxyElement.update (package:flutter/src/widgets/framework.dart:4922:5)
                    #63     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #64     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #65     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #66     StatelessElement.update (package:flutter/src/widgets/framework.dart:4655:5)
                    #67     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #68     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #69     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #70     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #71     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #72     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #73     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #74     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #75     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #76     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #77     StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #78     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #79     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #80     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #81     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #82     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #83     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #84     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #85     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #86     StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #87     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #88     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #89     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #90     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #91     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #92     StatelessElement.update (package:flutter/src/widgets/framework.dart:4655:5)
                    #93     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #94     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #95     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #96     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #97     StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #98     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #99     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #100    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #101    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #102    StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #103    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #104    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #105    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #106    StatelessElement.update (package:flutter/src/widgets/framework.dart:4655:5)
                    #107    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #108    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #109    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #110    ProxyElement.update (package:flutter/src/widgets/framework.dart:4922:5)
                    #111    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #112    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #113    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #114    ProxyElement.update (package:flutter/src/widgets/framework.dart:4922:5)
                    #115    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #116    RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5596:32)
                    #117    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6243:17)
                    #118    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #119    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #120    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #121    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #122    StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #123    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #124    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #125    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #126    ProxyElement.update (package:flutter/src/widgets/framework.dart:4922:5)
                    #127    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #128    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #129    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #130    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #131    StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #132    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #133    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #134    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #135    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #136    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #137    StatelessElement.update (package:flutter/src/widgets/framework.dart:4655:5)
                    #138    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #139    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #140    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #141    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #142    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #143    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #144    StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #145    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #146    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #147    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #148    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #149    StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #150    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #151    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #152    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #153    ProxyElement.update (package:flutter/src/widgets/framework.dart:4922:5)
                    #154    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #155    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #156    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #157    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #158    StatefulElement.update (package:flutter/src/widgets/framework.dart:4778:5)
                    #159    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #160    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6090:14)
                    #161    Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
                    #162    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
                    #163    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
                    #164    Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
                    #165    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2582:33)
                    #166    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:875:21)
                    #167    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:328:5)
                    #168    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
                    #169    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
                    #170    SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:865:7)
                    (elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)

                    ════════════════════════════════════════════════════════════════════════════════════════════════════
[+1947 ms] I/Choreographer(28144): Skipped 32 frames!  The application may be doing too much work on its main thread.
[  +27 ms] I/OpenGLRenderer(28144): Davey! duration=931ms; Flags=1, IntendedVsync=303087659672676, Vsync=303087809672670,
OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=303087829113846, AnimationStart=303087833525846,
PerformTraversalsStart=303088006223846, DrawStart=303088549824846, SyncQueued=303088550514846, SyncStart=303088550794846,
IssueDrawCommandsStart=303088551104846, SwapBuffers=303088583863846, FrameCompleted=303088591132846, DequeueBufferDuration=698000,
QueueBufferDuration=2856000,
[+18104 ms] Application finished.
[   +2 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --list
[  +17 ms] Exit code 0 from: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --list
[   +1 ms] emulator-5554 tcp:56733 tcp:37685
           emulator-5554 tcp:57193 tcp:46207
[   +2 ms] executing: /Users/admin/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --remove tcp:56733

flutter analyze:
flutter analyze
Analyzing bug...
No issues found! (ran in 2.7s)

flutter doctor -v:
flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-x64, locale en-US)
    • Flutter version 2.2.1 at /Users/admin/Development/flutter
    • Framework revision 02c026b03c (4 weeks ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/admin/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • 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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (2 available)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86    • Android 9 (API 28) (emulator)
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 91.0.4472.114

• No issues found!

Ideally:
IF:
1.) this is an intended feature: if someone who had a hand in writing this segment could explain why this is happening and how to avoid it, I'd greatly appreciate that; the docs were not super enlightening as to what is happening.
OR
2.) this is a bug: maybe if we could not force-unwrap the nullable value; maybe check to see if tag is provided and if not either provide a default style or just cut out of the MarkdownBuilder._addParentInlineIfNeeded function all together? Perhaps something like:
void _addParentInlineIfNeeded(String? tag) {
    if (_inlines.isEmpty && tag != null) {
      _inlines.add(_InlineElement(
        tag,
        style: styleSheet.styles[tag!],
      ));
    }
  }

I'm a little unclear on why the tag is null at this point as well, so I'm not ruling out operator error, but I'd love if someone could take a peak and see if they see any workarounds or issues within my code.
Thank you everyone for your time. I appreciate it.

Hi @Trefa1998
Thanks for filing the issue, after assembling your code, I can reproduce the issue, however, the reproducible code way too long to be minimal. Please only put the code that reproduces the issue and reduce the test case to a minimal code sample.
Provide a minimal complete reproducible code sample
Thank you

@TahaTesser : I gutted almost everything that isn't directly related to the bug. The code I updated with is 75 lines and only in one file. Hope that helps.
Thank you for your time and effort. I appreciate it 🙂

Hi @Trefa1998
Sorry for the delay, looks like the wait label wasn't removed by the bot
When running your code, I can see the following error, which doesn't match your error

minimal code sample
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:markdown/markdown.dart' as md;

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Bug Demo',
      theme: ThemeData(
        primarySwatch: Colors.deepPurple,
      ),
      home: Home(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Markdown(
        selectable: true,
        data: '''
# Just to showcase the bug

<testTag />
''',
        extensionSet: md.ExtensionSet(
          md.ExtensionSet.gitHubFlavored.blockSyntaxes,
          [
            md.EmojiSyntax(),
            ...md.ExtensionSet.gitHubFlavored.inlineSyntaxes,
          ],
        ),
        builders: {
          TestMarkdownElementBuilder.id: TestMarkdownElementBuilder(),
        },
        blockSyntaxes: [
          TestBlock(RegExp(r'<testTag([^>]*)/>')),
        ],
      ),
    );
  }
}

class TestBlock extends md.BlockSyntax {
  final RegExp pattern;
  TestBlock(this.pattern);

  @override
  md.Node? parse(md.BlockParser parser) {
    parser.advance();
    return md.Element(TestMarkdownElementBuilder.id, []);
  }
}

class TestMarkdownElementBuilder extends MarkdownElementBuilder {
  static const String id = 'aCustomElement';

  @override
  Widget visitElementAfter(md.Element? element, TextStyle? preferredStyle) {
    // Build
    return Container(
      margin: EdgeInsets.symmetric(horizontal: 0, vertical: 2),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.all(Radius.circular(6)),
        color: Colors.black,
      ),
      padding: const EdgeInsets.all(5.0),
      child: Text(
        'Example',
        style: TextStyle(color: Colors.white),
        textAlign: TextAlign.center,
      ),
    );
  }
}

logs
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[   +1 ms] An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:53779/eLa-W2h-ylM=
[ +760 ms] DevTools activation throttled until 2021-07-09 00:20:00.018267.
[+1876 ms] ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[   +3 ms] The following TypeErrorImpl was thrown building _BodyBuilder:
[   +4 ms] Unexpected null value.
[   +4 ms] The relevant error-causing widget was:
[   +3 ms]   Scaffold Scaffold:file:///C:/Users/Taha/StudioProjects/stable_flutter/lib/main.dart:28:12
[  +10 ms] When the exception was thrown, this was the stack:
[   +6 ms] C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart
251:49
           throw_
[   +1 ms]
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 524:63
           nullCheck
[   +1 ms] packages/flutter_markdown/src/builder.dart 571:37
           [_addParentInlineIfNeeded]
[   +7 ms] packages/flutter_markdown/src/builder.dart 237:7
           visitElementBefore
[        ] packages/markdown/src/ast.dart 46:16
           accept
[   +8 ms] packages/flutter_markdown/src/builder.dart 172:11
           build
[   +1 ms] packages/flutter_markdown/src/widget.dart 321:24
           [_parseMarkdown]
[   +1 ms] packages/flutter_markdown/src/widget.dart 266:5
           didChangeDependencies
[  +10 ms] packages/flutter/src/widgets/framework.dart 4826:11
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[        ] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +6 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +2 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +2 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +2 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 6333:36
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 6344:32
           mount
[   +3 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +4 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +2 ms] packages/flutter/src/widgets/framework.dart 4840:11
           performRebuild
[   +4 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4831:11
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +2 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[        ] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[        ] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[        ] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +2 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4840:11
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[        ] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4831:11
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[        ] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[        ] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[        ] packages/flutter/src/widgets/framework.dart 6195:14
           mount
[        ] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[        ] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[        ] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[        ] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[        ] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +2 ms] packages/flutter/src/widgets/framework.dart 6195:14
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[        ] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4840:11
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[        ] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4831:11
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[        ] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[        ] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[        ] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4840:11
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[        ] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4831:11
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[        ] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[        ] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[        ] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[        ] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[        ] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[ +104 ms] The Flutter DevTools debugger and profiler on Chrome is available at:
                    http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:53779/eLa-W2h-ylM=
[ +807 ms] packages/flutter/src/widgets/framework.dart 3673:13
                    inflateWidget
[   +5 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +2 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4840:11
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4831:11
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[        ] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +2 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[        ] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4840:11
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4831:11
           [_firstBuild]
[   +1 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +2 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +2 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +2 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +2 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +2 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +2 ms] packages/flutter/src/widgets/framework.dart 6195:14
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +2 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4690:16
           performRebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4355:5
           rebuild
[   +1 ms] packages/flutter/src/widgets/framework.dart 4643:5
           [_firstBuild]
[   +2 ms] packages/flutter/src/widgets/framework.dart 4638:5
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +1 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 6195:14
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +2 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild
[   +1 ms] packages/flutter/src/widgets/framework.dart 6195:14
           mount
[   +1 ms] packages/flutter/src/widgets/framework.dart 3673:13
           inflateWidget
[   +3 ms] packages/flutter/src/widgets/framework.dart 3425:18
           updateChild

Can you please provide complete flutter run --verbose logs running the code sample
Thank you

Hello, sorry for the delay.
I believe we are getting the same error; we are both getting a Null check operator used on a null value Error which stems from line 550 of flutter_markdown-0.6.2/lib/src/builder.dart:
void _addParentInlineIfNeeded(String? tag) {
    if (_inlines.isEmpty) {
      _inlines.add(_InlineElement(
        tag,
        style: styleSheet.styles[tag!], // HERE: This value could be null
      ));
    }
  }

I've included my verbose output here:

"flutter run --verbose" output
[ +110 ms] executing: sysctl hw.optional.arm64
[  +22 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[   +7 ms] executing: [/Users/thomasevangelista/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +19 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +1 ms] executing: [/Users/thomasevangelista/Development/flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[  +38 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] 2.2.1
[   +6 ms] executing: [/Users/thomasevangelista/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/thomasevangelista/Development/flutter/] git ls-remote --get-url origin
[  +13 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +118 ms] executing: [/Users/thomasevangelista/Development/flutter/] git rev-parse --abbrev-ref HEAD
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +8 ms] executing: sw_vers -productName
[  +16 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.4
[        ] executing: sw_vers -buildVersion
[  +15 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20F71
[  +77 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 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.
[  +50 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb devices -l
[  +14 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[+1115 ms] Exit code 0 from: xcrun xcodebuild -version
[        ] Xcode 12.5.1
           Build version 12E507
[   +3 ms] executing: xcrun xcdevice list --timeout 2
[   +4 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +55 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:2
[ +163 ms] "devices" : { /* REMOVED FOR BREVITY */ }
[   +5 ms] /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +58 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 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.
[  +87 ms] Skipping pub get: version match.
[ +160 ms] Generating /Users/thomasevangelista/Desktop/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +74 ms] ro.hardware = ranchu
[  +17 ms] Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +36 ms] Initializing file store
[  +16 ms] Skipping target: gen_localizations
[  +11 ms] complete
[   +9 ms] Launching lib/main.dart on AOSP on IA Emulator in debug mode...
[   +8 ms] /Users/thomasevangelista/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/thomasevangelista/Development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/thomasevangelista/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/6c/szh_wptd4nq2m77zb5fzp6xr0000gn/T/flutter_tools.Y9TJdC/flutter_tool.TKNTXE/app.dill --packages /Users/thomasevangelista/Desktop/bug/.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/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +11 ms] executing: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +10 ms] Exit code 0 from: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +12 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +29 ms] <- compile package:bug/main.dart
[  +36 ms] --------- beginning of system
           07-12 11:07:31.953 E/storaged( 1760): getDiskStats failed with result NOT_SUPPORTED and size 0
[  +42 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb version
[  +28 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb
[   +2 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb start-server
[  +15 ms] Building APK
[  +27 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] Using gradle from /Users/thomasevangelista/Desktop/bug/android/gradlew.
[ +345 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +14 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>53283","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>53283. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +2 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[  +82 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +2 ms] executing: [/Users/thomasevangelista/Desktop/bug/android/] /Users/thomasevangelista/Desktop/bug/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/Users/thomasevangelista/Desktop/bug/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1132 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[  +81 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[  +94 ms] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +397 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[ +101 ms] > 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:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +94 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[  +98 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 1s
[        ] 32 actionable tasks: 4 executed, 28 up-to-date
[ +382 ms] Running Gradle task 'assembleDebug'... (completed in 2,836ms)
[  +99 ms] calculateSha: LocalDirectory: '/Users/thomasevangelista/Desktop/bug/build/app/outputs/flutter-apk'/app.apk
[ +522 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +4 ms] executing: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +13 ms] Exit code 0 from: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +2 ms] Stopping app 'app.apk' on AOSP on IA Emulator.
[        ] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.bug
[ +115 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.bug
[ +123 ms] package:com.example.bug
[   +2 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bug.sha1
[  +80 ms] 6ae94a6f493bdb42940d999a7c48b4cb28a55115
[   +1 ms] Latest build already installed.
[        ] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +64 ms] --------- beginning of system
           07-12 11:07:38.597 W/ActivityManager( 1893): setHasOverlayUi called on unknown pid: 6513
[  +14 ms] executing: /Users/thomasevangelista/Library/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
[ +116 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+1394 ms] Observatory URL on device: http://<IP_ADDRESS>:33079/QhN07ZwpbDM=/
[   +2 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:33079
[  +19 ms] 61208
[   +1 ms] Forwarded host port 61208 to device port 33079 for Observatory
[+4087 ms] Caching compiled dill
[  +75 ms] Connecting to service protocol: http://<IP_ADDRESS>:61208/QhN07ZwpbDM=/
[ +311 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:61208/QhN07ZwpbDM=/.
[ +122 ms] DDS is listening at http://<IP_ADDRESS>:61216/Aal8Ktunqwg=/.
[  +72 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:61208/QhN07ZwpbDM=/
[  +38 ms] DevFS: Creating new filesystem on the device (null)
[  +45 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugLEGQOS/bug/)
[   +2 ms] Updating assets
[  +88 ms] Syncing files to device AOSP on IA Emulator...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +3 ms] <- recompile package:bug/main.dart a818b97a-cc58-489e-8ecf-47eadddc9d24
[        ] <- a818b97a-cc58-489e-8ecf-47eadddc9d24
[ +114 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device AOSP on IA Emulator... (completed in 120ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[  +16 ms] Connected to _flutterView/0xdc697010.
[   +3 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).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on AOSP on IA Emulator is available at: http://<IP_ADDRESS>:61216/Aal8Ktunqwg=/
[ +732 ms] The Flutter DevTools debugger and profiler on AOSP on IA Emulator is available at: http://<IP_ADDRESS>:9102?uri=http%3A%2F%2F<IP_ADDRESS>%3A61216%2FAal8Ktunqwg%3D%2F
[+134317 ms] D/EGL_emulation( 6582): eglMakeCurrent: 0xdf3056c0: ver 3 0 (tinfo 0xc8284250)
[  +56 ms] E/libEGL  ( 6582): call to OpenGL ES API with no current context (logged once per thread)
[+7828 ms] W/ActivityThread( 6582): handleWindowVisibility: no activity for token android.os.BinderProxy@c03cd00
[  +65 ms] D/eglCodecCommon( 6582): setVertexArrayObject: set vao to 0 (0) 0 0
[        ] D/EGL_emulation( 6582): eglCreateContext: 0xdf3059c0: maj 3 min 0 rcv 3
[        ] D/eglCodecCommon( 6582): setVertexArrayObject: set vao to 0 (0) 0 0
[        ] D/EGL_emulation( 6582): eglCreateContext: 0xdf305a20: maj 3 min 0 rcv 3
[        ] D/HostConnection( 6582): HostConnection::get() New Host Connection established 0xdd899c10, tid 6634
[        ] D/HostConnection( 6582): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0
[        ] D/EGL_emulation( 6582): eglMakeCurrent: 0xdf305a20: ver 3 0 (tinfo 0xe55319f0)
[ +123 ms] D/HostConnection( 6582): HostConnection::get() New Host Connection established 0xca384b40, tid 6633
[        ] D/HostConnection( 6582): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0
[        ] D/EGL_emulation( 6582): eglMakeCurrent: 0xdf3059c0: ver 3 0 (tinfo 0xc8284530)
[        ] D/eglCodecCommon( 6582): setVertexArrayObject: set vao to 0 (0) 0 0
[        ] D/EGL_emulation( 6582): eglCreateContext: 0xdf3052a0: maj 3 min 0 rcv 3
[        ] D/EGL_emulation( 6582): eglMakeCurrent: 0xdf3052a0: ver 3 0 (tinfo 0xc8284530)
[        ] D/EGL_emulation( 6582): eglMakeCurrent: 0xdf3059c0: ver 3 0 (tinfo 0xc8284530)
[ +629 ms] I/Choreographer( 6582): Skipped 41 frames!  The application may be doing too much work on its main thread.
[  +10 ms] D/EGL_emulation( 6582): eglMakeCurrent: 0xdf3056c0: ver 3 0 (tinfo 0xc8284250)
[ +461 ms] D/EGL_emulation( 6582): eglMakeCurrent: 0xdf3059c0: ver 3 0 (tinfo 0xc8284530)
[        ] D/eglCodecCommon( 6582): setVertexArrayObject: set vao to 0 (0) 1 0
[+1518 ms]
           ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
           The following _CastError was thrown building Builder:
           Null check operator used on a null value

           The relevant error-causing widget was:
             MaterialApp file:///Users/thomasevangelista/Desktop/bug/lib/main.dart:13:12

           When the exception was thrown, this was the stack:
           #0      MarkdownBuilder._addParentInlineIfNeeded (package:flutter_markdown/src/builder.dart:550:37)
           #1      MarkdownBuilder.visitElementBefore (package:flutter_markdown/src/builder.dart:235:7)
           #2      Element.accept (package:markdown/src/ast.dart:46:17)
           #3      MarkdownBuilder.build (package:flutter_markdown/src/builder.dart:172:12)
           #4      _MarkdownWidgetState._parseMarkdown (package:flutter_markdown/src/widget.dart:321:25)
           #5      _MarkdownWidgetState.didChangeDependencies (package:flutter_markdown/src/widget.dart:266:5)
           #6      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4732:11)
           #7      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4548:5)
           ...     Normal element mounting (166 frames)
           #173    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3611:14)
           #174    MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6221:36)
           #175    MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6232:32)
           ...     Normal element mounting (360 frames)
           #535    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3611:14)
           #536    Element.updateChild (package:flutter/src/widgets/framework.dart:3363:18)
           #537    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1189:16)
           #538    RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1159:5)
           #539    RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1104:18)
           #540    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2535:19)
           #541    RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1103:13)
           #542    WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:937:7)
           #543    WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:917:7)
           (elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)

           ════════════════════════════════════════════════════════════════════════════════════════════════════
[+15180 ms] Application finished.
[   +2 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --list
[  +16 ms] Exit code 0 from: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --list
[   +2 ms] emulator-5554 tcp:61064 tcp:37327
           emulator-5554 tcp:61208 tcp:33079
[   +4 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward --remove tcp:61064

Thank you again for looking into this.

Running your minimal code (with the scaffold) produced the same error for me as in my post above.

"flutter run --verbose" output
[ +111 ms] executing: sysctl hw.optional.arm64
[  +23 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[   +7 ms] executing: [/Users/thomasevangelista/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +17 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +1 ms] executing: [/Users/thomasevangelista/Development/flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[  +31 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] 2.2.1
[   +7 ms] executing: [/Users/thomasevangelista/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/thomasevangelista/Development/flutter/] git ls-remote --get-url origin
[  +14 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +117 ms] executing: [/Users/thomasevangelista/Development/flutter/] git rev-parse --abbrev-ref HEAD
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +6 ms] executing: sw_vers -productName
[  +21 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +14 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.4
[        ] executing: sw_vers -buildVersion
[  +16 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20F71
[  +69 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 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.
[  +52 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb devices -l
[  +13 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[+1282 ms] Exit code 0 from: xcrun xcodebuild -version
[        ] Xcode 12.5.1
           Build version 12E507
[   +3 ms] executing: xcrun xcdevice list --timeout 2
[   +4 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +49 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:2
[ +170 ms] "devices" : { /* CUT FOR BREVITY */ }
[   +5 ms] /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +69 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 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.
[  +84 ms] Skipping pub get: version match.
[ +139 ms] Generating /Users/thomasevangelista/Desktop/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +60 ms] ro.hardware = ranchu
[  +14 ms] Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +31 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[   +8 ms] complete
[   +5 ms] Launching lib/main.dart on AOSP on IA Emulator in debug mode...
[   +5 ms] /Users/thomasevangelista/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/thomasevangelista/Development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/thomasevangelista/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/6c/szh_wptd4nq2m77zb5fzp6xr0000gn/T/flutter_tools.BIDQla/flutter_tool.hMGRNn/app.dill --packages /Users/thomasevangelista/Desktop/bug/.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/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +10 ms] executing: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +11 ms] Exit code 0 from: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +10 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +21 ms] <- compile package:bug/main.dart
[  +38 ms] --------- beginning of main
           07-12 11:31:49.387 I/MicroDetectionWorker( 2503): #onError(false)
[  +21 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb version
[  +14 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb
[   +3 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb start-server
[  +89 ms] Building APK
[  +25 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] Using gradle from /Users/thomasevangelista/Desktop/bug/android/gradlew.
[ +325 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +12 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>53283","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>53283. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +4 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[  +84 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +2 ms] executing: [/Users/thomasevangelista/Desktop/bug/android/] /Users/thomasevangelista/Desktop/bug/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/Users/thomasevangelista/Desktop/bug/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3015 ms] > Task :app:compileFlutterBuildDebug
[        ] [ +119 ms] executing: sysctl hw.optional.arm64
[        ] [  +23 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] [        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] [   +8 ms] executing: [/Users/thomasevangelista/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +20 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] [        ] executing: [/Users/thomasevangelista/Development/flutter/] git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] [  +28 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[        ] [        ] 2.2.1
[        ] [   +7 ms] executing: [/Users/thomasevangelista/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/Users/thomasevangelista/Development/flutter/] git ls-remote --get-url origin
[        ] [  +14 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +79 ms] executing: [/Users/thomasevangelista/Development/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [   +1 ms] stable
[        ] [   +6 ms] executing: sw_vers -productName
[        ] [  +15 ms] Exit code 0 from: sw_vers -productName
[        ] [        ] macOS
[        ] [        ] executing: sw_vers -productVersion
[        ] [  +14 ms] Exit code 0 from: sw_vers -productVersion
[        ] [        ] 11.4
[        ] [        ] executing: sw_vers -buildVersion
[        ] [  +14 ms] Exit code 0 from: sw_vers -buildVersion
[        ] [        ] 20F71
[        ] [  +60 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +99 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +2 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 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +41 ms] Initializing file store
[        ] [   +9 ms] Done initializing file store
[        ] [  +44 ms] Skipping target: gen_localizations
[        ] [ +477 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/thomasevangelista/Desktop/bug/lib/main.dart}
[        ] [  +11 ms] /Users/thomasevangelista/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/thomasevangelista/Development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/thomasevangelista/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /Users/thomasevangelista/Desktop/bug/.dart_tool/package_config.json --output-dill /Users/thomasevangelista/Desktop/bug/.dart_tool/flutter_build/e9c5ac817ed6cc5f63a4f7d6a50e6e68/app.dill --depfile /Users/thomasevangelista/Desktop/bug/.dart_tool/flutter_build/e9c5ac817ed6cc5f63a4f7d6a50e6e68/kernel_snapshot.d package:bug/main.dart
[+9278 ms] [+9828 ms] kernel_snapshot: Complete
[ +597 ms] [ +575 ms] debug_android_application: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/thomasevangelista/Desktop/bug/.dart_tool/flutter_build/e9c5ac817ed6cc5f63a4f7d6a50e6e68/app.dill,/Users/thomasevangelista/Desktop/bug/build/app/intermediates/flutter/debug/flutter_assets/kernel_blob.bin}
[ +198 ms] [ +213 ms] debug_android_application: Complete
[ +300 ms] [ +292 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +6 ms] build succeeded.
[        ] [  +13 ms] "flutter assemble" took 11,647ms.
[ +200 ms] [ +142 ms] ensureAnalyticsSent: 137ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +100 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:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +97 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +297 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[  +98 ms] > 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:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[  +96 ms] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[ +100 ms] > Task :app:packageDebug UP-TO-DATE
[ +157 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 14s
[        ] 32 actionable tasks: 5 executed, 27 up-to-date
[ +378 ms] Running Gradle task 'assembleDebug'... (completed in 15.4s)
[ +138 ms] calculateSha: LocalDirectory: '/Users/thomasevangelista/Desktop/bug/build/app/outputs/flutter-apk'/app.apk
[ +614 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +3 ms] executing: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/Desktop/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +14 ms] Exit code 0 from: /Users/thomasevangelista/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/thomasevangelista/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)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.bug" (Raw: "com.example.bug")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="bug" (Raw: "bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   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=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +2 ms] Stopping app 'app.apk' on AOSP on IA Emulator.
[        ] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.bug
[  +86 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.bug
[  +52 ms] package:com.example.bug
[   +2 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bug.sha1
[  +25 ms] 4cb5bcd85b900bfd5aec5bc00b3da28251316e5f
[   +1 ms] Latest build already installed.
[        ] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +24 ms] --------- beginning of main
           07-12 11:32:07.022 D/CarrierSvcBindHelper( 2143): No carrier app for: 0
[  +11 ms] executing: /Users/thomasevangelista/Library/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
[  +70 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+1032 ms] Observatory URL on device: http://<IP_ADDRESS>:39664/uwWk_-rD9ns=/
[   +1 ms] executing: /Users/thomasevangelista/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:39664
[  +14 ms] 63516
[        ] Forwarded host port 63516 to device port 39664 for Observatory
[   +8 ms] Caching compiled dill
[  +79 ms] Connecting to service protocol: http://<IP_ADDRESS>:63516/uwWk_-rD9ns=/
[ +403 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:63516/uwWk_-rD9ns=/.
[ +226 ms] DDS is listening at http://<IP_ADDRESS>:63519/bNnuMwLC5U8=/.
[ +104 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:63516/uwWk_-rD9ns=/
[  +46 ms] DevFS: Creating new filesystem on the device (null)
[ +115 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugAYHPUK/bug/)
[   +2 ms] Updating assets
[  +96 ms] Syncing files to device AOSP on IA Emulator...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:bug/main.dart 0cfe3d6d-103d-4bec-a320-5ec71783b101
[        ] <- 0cfe3d6d-103d-4bec-a320-5ec71783b101
[ +118 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device AOSP on IA Emulator... (completed in 123ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[  +23 ms] Connected to _flutterView/0xdd368010.
[   +3 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).
[        ] 💪 Running with sound null safety 💪
[   +1 ms] An Observatory debugger and profiler on AOSP on IA Emulator is available at: http://<IP_ADDRESS>:63519/bNnuMwLC5U8=/
[   +7 ms] D/EGL_emulation( 6949): eglMakeCurrent: 0xdf3e8980: ver 3 0 (tinfo 0xdd30c6c0)