mediaImageProvider function
The image provider for an image fetch that does not go through
MediaImage (a surface's wait-for-media gate, a next-image precache): the
same cache and the same mediaHttpHeaders, so the request that actually
downloads carries the SDK User-Agent too.
Implementation
ImageProvider mediaImageProvider(String url) =>
CachedNetworkImageProvider(url.trim(), headers: mediaHttpHeaders);