placeholder images code example
Example 1: lorum picsum
<img src="https://picsum.photos/200"/>;
Example 2: lorem picsum
<img src="https://picsum.photos/200/300?random=1">
<img src="https://picsum.photos/200/300?random=2">
Example 3: placeholder image
https://via.placeholder.com/350x150
Example 4: how to give placeholder to image.network
FadeInImage(image: NetworkImage(url), placeholder: AssetImage(assetName)
Example 5: create transparent placeholder img
from PIL import Image
img = Image.new('RGB', (32,32), color='white')
img.save('empty.png')
quit()
Example 6: create transparent placeholder img
convert -size 32x32 xc:white empty.jpg