DioImage.string constructor
Creates an object that fetches the image at the given URL.
The arguments url and scale must not be null.
dio will be the default Dio if not set.
Implementation
DioImage.string(String url, {this.scale = 1.0, this.headers, Dio? dio})
: dio = dio ?? defaultDio,
url = Uri.parse(url);