Closed daohoangson closed 4 months ago
Related to #1287
Address the issue of invalid CSS causing errors in HtmlWidget.
HtmlWidget
isValidCss
packages/core/lib/src/core_helpers.dart
packages/enhanced/lib/src/html_widget.dart
onErrorBuilder
packages/core/test/src/core_helpers_test.dart
packages/enhanced/README.md
For more details, open the Copilot Workspace session.
Related to #1287
Address the issue of invalid CSS causing errors in
HtmlWidget
.isValidCss
function: Add a new functionisValidCss
inpackages/core/lib/src/core_helpers.dart
to check if a CSS string is valid.HtmlWidget
: ModifyHtmlWidget
inpackages/enhanced/lib/src/html_widget.dart
to ignore invalid CSS errors in theonErrorBuilder
callback.isValidCss
function inpackages/core/test/src/core_helpers_test.dart
.packages/enhanced/README.md
to include examples on handling invalid HTML/CSS inHtmlWidget
.For more details, open the Copilot Workspace session.