Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.79k stars 860 forks source link

[BUG]displaly error in samsung Galaxy S10+ Android 11 #1231

Closed tongxyj closed 1 year ago

tongxyj commented 1 year ago

image

version: flutter_html: ^2.2.1

On the Samsung s10 mobile phone, when use Html(data:) method and pass the both plain text and html text are display white color

in the device Samsung s9 and other display are normal image

mycode: top widget pass a plain text data:

image

bottom widget pass a html string data:

image

`

device info

品牌: samsung
型号: SM-G9750
手机类型: Galaxy S10+
上市时间: 未知
网络制式: 未知
摄像头: 未知
主屏: 未知
分辨率: 1080x2280
操作系统: Android 11
中央处理器: Qualcomm Technologies, Inc SM8150
内存容量: 5.3G RAM,0 ROM

flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.7.0, on macOS 13.0.1 22A400 darwin-arm64, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 14.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.1) [✓] VS Code (version 1.75.0) [✓] Connected device (4 available) [✓] HTTP Host Availability

Sub6Resources commented 1 year ago

Have you tried this in 3.0.0-alpha.5 or -alpha.6? Additionally, have you set a DefaultTextStyle or a text color in your app's theme?

Sub6Resources commented 1 year ago

Closing, as this is likely a device-specific issue or an issue that could be resolved by using the proper theme.