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.8k stars 874 forks source link

[BUG] Unknown Error #1285

Closed rakib205 closed 1 year ago

rakib205 commented 1 year ago

I am getting this error when I use any of the flutter_hml packages (including latest beta and alpha). I am using the flutter latest stable version 3.10.1. What could be the reason behind this error? TIA

../../../../../../.pub-cache/hosted/pub.dev/universal_html-2.2.2/lib/src/html/dom/element_subclasses.dart:2752:30: Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.

FAILURE: Build failed with an exception.

Sub6Resources commented 1 year ago

From your error message it looks like you're using a universal_html package that isn't affiliated with flutter_html.