SvgNetworkLoader constructor
const
SvgNetworkLoader(})
Creates an instance of SvgNetworkLoader for loading SVGs from a network.
The url
parameter is the Uri-encoded resource address of the SVG.
Optional headers
can be provided for the HTTP request.
An optional httpClient
can be supplied for custom HTTP operations.
Implementation
const SvgNetworkLoader(
this.url, {
this.headers,
super.theme,
super.colorMapper,
http.Client? httpClient,
}) : _httpClient = httpClient;