Is there a possible way to show Asset image if passed component parameter is null

Resolved

I'm facing an issue in my component where I need to render an image. I'm passing an image URL as a parameter, where the image type is network, but sometimes it's null. In such cases, I want to display a default image from assets instead. Could someone help me with the logic to achieve this? Any insights or examples would be greatly appreciated. Thanks!

3
12 replies