brendan-duncan / image

Dart Image Library for opening, manipulating, and saving various different image file formats.
MIT License
1.18k stars 268 forks source link

A value of type 'Image?' can't be assigned to a variable of type 'Image'. #374

Closed barandenizdogan closed 2 years ago

barandenizdogan commented 2 years ago

Im getting this issue. Its so important for me at this time. Can someone help me ?

A value of type 'Image?' can't be assigned to a variable of type 'Image'.

a complete code is here: https://github.com/0015/ThatProject/blob/master/ESP32_MQTT/2_Flutter_MQTT_Client_App/mqtt_esp32cam_viewer_ui_part/lib/main.dart

brendan-duncan commented 2 years ago

I'm sorry, I don't understand your question, and I don't see a use of Image in your code. Likely you're getting Flutter's Image class, mixed up with this library's Image class. An unfortunate naming conflict.

brendan-duncan commented 2 years ago

Closing this. If you still have an issue, feel free to re-open.