Repository: flutter
Issue: Dark theme overrides primarySwatch
Labels: framework,f: material design,has reproducible steps,found in release: 2.5,found in release: 2.6,team-design,triaged-design

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Download the example project: [colorbug.zip](https://github.com/flutter/flutter/files/5114811/colorbug.zip)
2. Run the app
3. Comment out the brightness field in the ThemeData (line 17)
4. Hot reload and see that the FloatingActionButton is now the right color

**Expected results:** <!-- what did you want to see? -->

With brightness.dark, I expected the FloatingActionButton to be the same color as the container.

**Actual results:** <!-- what did you see? -->

With brightness.dark, the FloatingActionButton used the default color instead of the colors in the primarySwatch.

Here are some screenshots. The top one is with brightness.dark and the bottom is the one without brightness.dark:
### Preview
| preview 1| preview  2 |
| --------------- | --------------- |
| <img src="https://user-images.githubusercontent.com/44349936/90987439-02e10800-e583-11ea-9ec1-562177c1f480.png" height="450" /> | <img src="https://user-images.githubusercontent.com/44349936/90987444-070d2580-e583-11ea-8361-d1bb334408d9.png" height="450" /> |


<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
[  +82 ms] executing: [/home/james/Android/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +23 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] d30e36ba8cd4f420d8e30db6f06e035ef410d121
[        ] executing: [/home/james/Android/flutter/] git tag --points-at HEAD
[ +234 ms] Exit code 0 from: git tag --points-at HEAD
[   +2 ms] executing: [/home/james/Android/flutter/] git describe --match *.*.* --first-parent --long --tags
[  +36 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] 1.22.0-1.0.pre-36-gd30e36ba8c
[   +6 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/james/Android/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +38 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +32 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +9 ms] executing: /home/james/Android/Sdk/platform-tools/adb devices -l
[  +25 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_64_arm64 model:sdk_gphone_x86_64_arm64 device:generic_x86_64_arm64 transport_id:1
[   +5 ms] /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +29 ms] Artifact Instance of 'AndroidMavenArtifacts' 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.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +45 ms] Running "flutter pub get" in colorbug...
[   +3 ms] executing: [/home/james/Documents/colorbug/] /home/james/Android/flutter/bin/cache/dart-sdk/bin/pub --verbose get --no-precompile
[  +47 ms] MSG : Resolving dependencies...
[        ] MSG : Got dependencies!
[  +21 ms] Running "flutter pub get" in colorbug... (completed in 0.5s)
[ +133 ms] Generating /home/james/Documents/colorbug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +17 ms] ro.hardware = ranchu
[   +8 ms] Using hardware rendering with device sdk gphone x86 64 arm64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +19 ms] Starting incremental build...
[   +2 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +5 ms] complete
[   +3 ms] Launching lib/main.dart on sdk gphone x86 64 arm64 in debug mode...
[   +4 ms] /home/james/Android/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/james/Android/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/james/Android/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tools.RTZPUC/flutter_tool.AKPHDQ/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[   +8 ms] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +15 ms] Exit code 0 from: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-23 20:52:12.246 E/wifi_forwarder(  415): RemoteConnection failed to initialize: RemoteConnection failed to open pipe
[        ] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +14 ms] Exit code 0 from: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of kernel
           08-23 20:52:38.214 D/logd    (    0): logdr: UID=2000 GID=2000 PID=5445 n tail=1 logMask=99 pid=0 start=0ns timeout=0ns
[   +9 ms] <- compile package:colorbug/main.dart
[   +8 ms] executing: /home/james/Android/Sdk/platform-tools/adb version
[  +16 ms] Android Debug Bridge version 1.0.41
           Version 30.0.3-6597393
           Installed as /home/james/Android/Sdk/platform-tools/adb
[   +1 ms] executing: /home/james/Android/Sdk/platform-tools/adb start-server
[   +5 ms] Building APK
[   +7 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from /home/james/Documents/colorbug/android/gradlew.
[        ] /home/james/Documents/colorbug/android/gradlew mode: 33261 rwxr-xr-x.
[   +6 ms] executing: /opt/android-studio/jre/bin/java -version
[ +125 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
           openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[   +1 ms] executing: [/home/james/Documents/colorbug/android/] /home/james/Documents/colorbug/android/gradlew -Pverbose=true -Ptarget-platform=android-x64 -Ptarget=/home/james/Documents/colorbug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3153 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +91 ms] executing: [/home/james/Android/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +23 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] d30e36ba8cd4f420d8e30db6f06e035ef410d121
[        ] [        ] executing: [/home/james/Android/flutter/] git tag --points-at HEAD
[        ] [  +10 ms] Exit code 0 from: git tag --points-at HEAD
[        ] [   +1 ms] executing: [/home/james/Android/flutter/] git describe --match *.*.* --first-parent --long --tags
[        ] [  +19 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] [        ] 1.22.0-1.0.pre-36-gd30e36ba8c
[        ] [   +6 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/home/james/Android/flutter/] git ls-remote --get-url origin
[        ] [   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +31 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +24 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[  +11 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +5 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [   +2 ms] 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.
[        ] [ +122 ms] Initializing file store
[        ] [  +11 ms] Skipping target: gen_localizations
[   +2 ms] [   +4 ms] kernel_snapshot: Starting due to {}
[        ] [  +19 ms] /home/james/Android/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/james/Android/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/james/Android/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /home/james/Documents/colorbug/.packages --output-dill /home/james/Documents/colorbug/.dart_tool/flutter_build/ba935dd3ee84529202e680ef65e99a57/app.dill --depfile /home/james/Documents/colorbug/.dart_tool/flutter_build/ba935dd3ee84529202e680ef65e99a57/kernel_snapshot.d package:colorbug/main.dart
[+6172 ms] [+7591 ms] kernel_snapshot: Complete
[ +500 ms] [ +515 ms] debug_android_application: Starting due to {}
[ +100 ms] [ +106 ms] debug_android_application: Complete
[ +599 ms] [ +585 ms] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +3 ms] build succeeded.
[        ] [   +7 ms] "flutter assemble" took 8,992ms.
[        ] [   +2 ms] ensureAnalyticsSent: 0ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[  +99 ms] > Task :app:packLibsflutterBuildDebug
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[  +99 ms] > Task :app:checkDebugManifest
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders
[        ] > Task :app:generateDebugAssets
[        ] > Task :app:mergeDebugAssets
[ +101 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[ +396 ms] > Task :app:createDebugCompatibleScreenManifests
[  +99 ms] > Task :app:processDebugManifest
[        ] > Task :app:mergeDebugResources
[ +399 ms] > Task :app:processDebugResources
[ +500 ms] > Task :app:compileDebugKotlin
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:javaPreCompileDebug
[ +199 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[        ] > Task :app:checkDebugDuplicateClasses
[ +199 ms] > Task :app:transformClassesWithDexBuilderForDebug
[        ] > Task :app:validateSigningDebug
[        ] > Task :app:signingConfigWriterDebug
[        ] > Task :app:desugarDebugFileDependencies
[        ] > Task :app:mergeDebugJniLibFolders
[ +299 ms] > Task :app:mergeDebugJavaResource
[ +300 ms] > Task :app:mergeExtDexDebug
[ +599 ms] > Task :app:mergeDexDebug
[ +299 ms] > Task :app:mergeDebugNativeLibs
[ +300 ms] > Task :app:stripDebugDebugSymbols
[        ] Compatible side by side NDK version was not found.
[        ] Unable to strip library '/home/james/Documents/colorbug/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libflutter.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
[        ] Unable to strip library '/home/james/Documents/colorbug/build/app/intermediates/merged_native_libs/debug/out/lib/x86_64/libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
[+2080 ms] > Task :app:packageDebug
[        ] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 16s
[        ] 31 actionable tasks: 30 executed, 1 up-to-date
[ +321 ms] Running Gradle task 'assembleDebug'... (completed in 17.0s)
[  +20 ms] calculateSha: LocalDirectory: '/home/james/Documents/colorbug/build/app/outputs/flutter-apk'/app.apk
[  +41 ms] calculateSha: reading file took 41us
[ +438 ms] calculateSha: computing sha took 438us
[   +3 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +2 ms] executing: /home/james/Android/Sdk/build-tools/30.0.1/aapt dump xmltree /home/james/Documents/colorbug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +66 ms] Exit code 0 from: /home/james/Android/Sdk/build-tools/30.0.1/aapt dump xmltree /home/james/Documents/colorbug/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)0x1d
               A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
               A: package="com.example.colorbug" (Raw: "com.example.colorbug")
               A: platformBuildVersionCode=(type 0x10)0x1d
               A: platformBuildVersionName=(type 0x10)0xa
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="colorbug" (Raw: "colorbug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.colorbug.MainActivity" (Raw: "com.example.colorbug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] Stopping app 'app.apk' on sdk gphone x86 64 arm64.
[        ] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.colorbug
[  +42 ms] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.colorbug
[  +37 ms] package:com.example.colorbug
[   +1 ms] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.colorbug.sha1
[  +17 ms] dbdfb2d89e5d4896c061baf719d8f647d00c9ab7
[        ] Installing APK.
[   +1 ms] executing: /home/james/Android/Sdk/platform-tools/adb version
[   +5 ms] Android Debug Bridge version 1.0.41
           Version 30.0.3-6597393
           Installed as /home/james/Android/Sdk/platform-tools/adb
[        ] executing: /home/james/Android/Sdk/platform-tools/adb start-server
[   +6 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 install -t -r /home/james/Documents/colorbug/build/app/outputs/flutter-apk/app.apk
[ +531 ms] Performing Streamed Install
           Success
[        ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 0.5s)
[        ] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 shell echo -n 4d7ca3689dad10c4af5c4f90ac706ac97765ba55 > /data/local/tmp/sky.com.example.colorbug.sha1
[  +77 ms] sdk gphone x86 64 arm64 startApp
[   +2 ms] executing: /home/james/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.colorbug/com.example.colorbug.MainActivity
[ +311 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.colorbug/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+1199 ms] Observatory URL on device: http://127.0.0.1:35277/UQsIhgeAXwQ=/
[        ] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:35277
[   +6 ms] 40091
[        ] Forwarded host port 40091 to device port 35277 for Observatory
[   +3 ms] Caching compiled dill
[  +21 ms] Connecting to service protocol: http://127.0.0.1:40091/UQsIhgeAXwQ=/
[   +1 ms] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[ +337 ms] Successfully connected to service protocol: http://127.0.0.1:40091/UQsIhgeAXwQ=/
[        ] Waiting for sdk gphone x86 64 arm64 to report its views...
[   +8 ms] Waiting for sdk gphone x86 64 arm64 to report its views... (completed in 8ms)
[  +18 ms] DevFS: Creating new filesystem on the device (null)
[  +30 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.colorbug/code_cache/colorbugEYPYER/colorbug/)
[   +1 ms] Updating assets
[  +62 ms] Syncing files to device sdk gphone x86 64 arm64...
[   +1 ms] Scanning asset files
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:colorbug/main.dart 4a223af3-7d56-4001-8001-cb6533273f0f
[        ] <- 4a223af3-7d56-4001-8001-cb6533273f0f
[  +72 ms] Updating files
[  +91 ms] DevFS: Sync finished
[        ] Syncing files to device sdk gphone x86 64 arm64... (completed in 168ms)
[        ] Synced 1.7MB.
[        ] <- accept
[   +2 ms] Connected to _flutterView/0x7426963ceec0.
[        ] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on sdk gphone x86 64 arm64 is available at: http://127.0.0.1:40091/UQsIhgeAXwQ=/
[+4908 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.colorbug/code_cache/colorbugEYPYER/colorbug/)
[  +20 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.example.colorbug/code_cache/colorbugEYPYER/colorbug/)
[  +96 ms] Service protocol connection closed.
[        ] Application finished.
[   +2 ms] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[   +4 ms] Exit code 0 from: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[        ] emulator-5554 tcp:40091 tcp:35277
[        ] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 forward --remove tcp:40091
[   +5 ms] executing: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[   +6 ms] Exit code 0 from: /home/james/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[        ] "flutter run" took 26,450ms.
[  +27 ms] ensureAnalyticsSent: 25ms
[        ] Running shutdown hooks
[        ] Shutdown hook priority 4
[        ] Shutdown hooks complete
[        ] exiting with code 0
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing colorbug...                                                   
No issues found! (ran in 4.1s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel master, 1.22.0-2.0.pre.36, on Linux, locale en_GB.UTF-8)
    • Flutter version 1.22.0-2.0.pre.36 at /home/james/Android/flutter
    • Framework revision d30e36ba8c (2 days ago), 2020-08-21 22:36:03 -0400
    • Engine revision d495da20d0
    • Dart version 2.10.0 (build 2.10.0-49.0.dev)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /home/james/Android/Sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version openjdk version "1.8.0_242-release"
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at chromium)
    ! chromium is not executable.

[!] Android Studio (version 4.0)
    • Android Studio at /opt/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version openjdk version "1.8.0_242-release"

[✓] Connected device (2 available)
    • sdk gphone x86 64 arm64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • Web Server (web)                 • web-server    • web-javascript • Flutter Tools

! Doctor found issues in 2 categories.
```

</details>