Open jasminder opened 1 month ago
same here - any solution to this ??
final imageElement = html.ImageElement(src: url);
does not work on Android or iOS
I tried to exclude it from any mobile compilation by:
if (kIsWeb) {
final imageElement = html.ImageElement(src: url);
// ..
}
But the compiler still crashes when compiling for mobile. Any solution to this ?
Any news ? I am pretty desperate with this - since my product depends on this library....
I am trying to create html image element using the following code: final html.ImageElement imgElement = html.ImageElement(src: url);
And I am getting this error on iOS/Android: Error: No named parameter with the name 'src'.
It is working fine on web as it should, but, for iOS, I will have to comment this out.