Open prabuddaFernando opened 2 years ago
Reproduced on latest master
branch.
Are media queries even supported?
No, not supported. The Dart css parser library that we use just doesn't gracefully handle the syntax for media queries.
No, not supported. The Dart CSS parser library that we use just doesn't gracefully handle the syntax for media queries.
Considering that is a pretty critical piece of CSS functionality, it might be good to drop a note about this in the pub.dev page/README.
Describe the bug: When HTML content with media queries, UI gets crash.
HTML to reproduce the issue:
Html
widget configuration:Device details and Flutter/Dart/
flutter_html
versions: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.10.4, on macOS 12.3.1 21E258 darwin-arm, locale en-LK) [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) [✓] Xcode - develop for iOS and macOS (Xcode 13.3.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.67.1) [✓] Connected device (2 available) [✓] HTTP Host AvailabilityStacktrace/Logcat