universal_html
universal_html copied to clipboard
The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
Error (Xcode): ../../.pub-cache/hosted/pub.flutter-io.cn/universal_html-2.0.8/lib/src/html/dom/element_subclasses.dart:2711:30: Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
please help, on mac os, i can not build ios app.
@lexoops see this https://github.com/dint-dev/universal_html/issues/76#issuecomment-1558621694
Add this dependency in your pubspec.yaml 👇🏻 csslib: 0.17.0
Thank you @dhruvil444 your solution saved my day!
Thank you @dhruvil444 , I have spent 5 hours before I found your solution
Add this dependency in your pubspec.yaml 👇🏻 csslib: 0.17.0
Thanks you so much