Closed tongxyj closed 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?
Closing, as this is likely a device-specific issue or an issue that could be resolved by using the proper theme.
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
mycode: top widget pass a plain text data:
bottom widget pass a html string data:
`
device info
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