material-foundation / material-foundation/flutter-packages
Dynamic color doesn't seem to render colors correctly
Open
Nobody has claimed this yet.
p: dynamic_color
waiting for developer response
- Dominant language
- Dart
- Stars
- 863
- Forks
- 175
- PR merge metrics
- No merged PRs in 30d
Description
Both examples show the problem in both light and dark mode.
- When returning to the main screen:
- When changing the theme, and then returning to the main screen:
[✓] Flutter (Channel master, 3.7.0-16.0.pre.14, on Microsoft Windows [Version 10.0.22621.963], locale ru-UA)
• Flutter version 3.7.0-16.0.pre.14 on channel master at C:\Flutter-SDK\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 583a8122bc (73 minutes ago), 2023-01-10 01:18:03 -0800
• Engine revision 716bb9172c
• Dart version 3.0.0 (build 3.0.0-103.0.dev)
• DevTools version 2.20.0
[✗] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at C:\Users\yablo\AppData\Local\Android\sdk
• Platform android-TiramisuPrivacySandbox, build-tools 32.1.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.4.33205.214
• Windows 10 SDK version 10.0.22000.0
[✓] Android Studio (version 2021.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] IntelliJ IDEA Community Edition (version 2021.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.2.1
• Flutter plugin version 71.0.2
• Dart plugin version 212.5744
[✓] VS Code (version 1.74.2)
• VS Code at C:\Users\yablo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.56.0
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.963]
• Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.125
• Edge (web) • edge • web-javascript • Microsoft Edge 108.0.1462.76
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified. Start by reproducing the two reported scenarios with dynamic color on Flutter master under Windows, then trace the theme and main-screen rendering path; done means colors render correctly in both light and dark mode after returning to the screen or changing themes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- design, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100