Comments (4)
Hi @huanghui1998hhh, do you mean the text is thicker on dark background? (as I can see from your demo). Can you also share output of flutter doctor -v
? Thanks!
from flutter.
Yes, different colors are all the same thickness on white backgroud. But on dark, they don't look the same. Some are thicker like the white
or yellow
one, another are thinner like the red
one.
Flutter Doctor output
[√] Flutter (Channel master, 3.23.0-13.0.pre.291, on Microsoft Windows [版本 10.0.22631.3737], locale zh-CN)
• Flutter version 3.23.0-13.0.pre.291 on channel master at D:\fvm\stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 16e7ade (6 hours ago), 2024-06-21 10:29:27 +0200
• Engine revision dda82d905f
• Dart version 3.5.0 (build 3.5.0-284.0.dev)
• DevTools version 2.36.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at C:\Users\46504\AppData\Local\Android\sdk
• Platform android-34, build-tools 33.0.0
• Java binary at: D:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.2.6)
• Visual Studio at D:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.2.32630.192
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2023.3)
• Android Studio at D:\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 17.0.10+0--11572160)
[√] VS Code (version 1.90.2)
• VS Code at C:\Users\46504\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.90.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.22631.3737]
• Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.62
• Edge (web) • edge • web-javascript • Microsoft Edge 126.0.2592.61
[√] Network resources
• All expected network resources are available.
• No issues found!
from flutter.
Thanks for pointing out the difference. I can also see the issue on Web (on both cavaskit and HTML renderers).
I also checked this on macOS app but the issue doesn't appear there.
Demo on macOS app (issue is not reproduced)
macOS app - light background | macOS app - dark background |
---|---|
flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.1 23B74 darwin-x64, locale en-VN)
• Flutter version 3.22.2 on channel stable at /Users/huynq/Documents/GitHub/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 761747bfc5 (31 hours ago), 2024-06-05 22:15:13 +0200
• Engine revision edd8546116
• Dart version 3.4.3
• DevTools version 2.34.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/huynq/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode15.3.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /Applications/Android Studio.app/
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
[✓] VS Code (version 1.89.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0
[✓] Connected device (3 available)
• iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios • iOS 15.8 19H370
• macOS (desktop) • macos • darwin-x64 • macOS 14.1 23B74 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.142
[✓] Network resources
• All expected network resources are available.
• No issues found!
[!] Flutter (Channel master, 3.23.0-13.0.pre.300, on macOS 14.1 23B74 darwin-x64, locale en-VN)
• Flutter version 3.23.0-13.0.pre.300 on channel master at /Users/huynq/Documents/GitHub/flutter_master
! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 1cb003b8fb (28 hours ago), 2024-06-22 16:41:39 -0700
• Engine revision 33415c6ee7
• Dart version 3.5.0 (build 3.5.0-288.0.dev)
• DevTools version 2.36.0
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/huynq/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode15.3.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /Applications/Android Studio.app/
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
[✓] VS Code (version 1.90.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 14.1 23B74 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.63
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
from flutter.
This is really interesting seeing it in different colors. I think it's the same issue though. Compared to native, the border color of each letter is too light.
In either mode:
- The closer the text is to white the heavier (thicker) it will appear.
- The closer the text is to black the lighter (thinner) it will appear.
You can see it in the image that was shared with this issue.
from flutter.
Related Issues (20)
- StateError object.dart in RenderObject.constraints HOT 3
- linux-62 lost external connection phone device. HOT 1
- mac-27 lost external connection phone device. HOT 1
- mac-28 lost external connection phone device. HOT 1
- linux-6 phone device screen is off. HOT 1
- Endorsing a plugin's package implementation thru default_package HOT 2
- [tool] Notify app developers of plugins that are incompatible with Swift Package Manager
- win-16 is low on disk space for local Temp directory. HOT 1
- `DropdownMenu.onSelected` conflicts with `TextField` `onTapOutside` when `requestFocusOnTap: false` and `true` HOT 1
- win-17 is low on disk space for local Temp directory. HOT 1
- win-8 is low on disk space for local Temp directory. HOT 1
- [Impeller] Shader issue on scroll HOT 2
- [CP] [web] Set touch-action:none in embedded views.
- [CP] Make `CupertinoRadio`'s `mouseCursor` a `WidgetStateProperty`
- [Memory leak][iOS] PlatformView with UIImageView & Scrolling get junk on showModalBottomSheet HOT 8
- [DropdownMenu]: With `enableFilter` and `initialSelection` set as `true`, only the pre-selected option is available. HOT 4
- [go_router] Query parameter lost after click on back button in android HOT 1
- Rtl numbers problem when running flutter web on chrome in samsung phones HOT 3
- [ERROR:flutter/lib/ui/painting/image_encoding.cc(215)] Could not convert raster image to PNG. HOT 1
- Expose `MaterialPageRoute` `ZoomEnterTransition` scrim color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.