HttpImage constructor
Creates an object that fetches the image at the given URL.
The arguments url and scale must not be null.
client
will be the default Client
if not set.
Implementation
HttpImage(this.url, {this.scale = 1.0, this.headers, Client? client})
: client = client ?? defaultClient;