Images occasionally don't load

Most of the time my images (which are stored in the public folder) load up fine, but occasionally all my images and Material Icons don’t load up correctly. Restarting the app seems to fix it. Any ideas?

How do you reference them in the code?