NetworkToFileImage constructor
const
NetworkToFileImage({})
Implementation
const NetworkToFileImage({
/// Same parameter as [FileImage].
this.file,
/// Same parameter as [NetworkImage].
this.url,
/// Same parameter as both [FileImage] and [NetworkImage].
this.scale = 1.0,
/// Same parameter as [NetworkImage].
this.headers,
/// If debug is true, print to the console if the image is from file or network.
this.debug = false,
}) : assert(file != null || url != null);