Implement an image gallery that preloads the next image while displaying the current one. Use Image.prefetch for preloading. Show a loading placeholder while an image loads.
Click Run to test your code