OptimizedImage.network constructor
OptimizedImage.network(})
Implementation
factory OptimizedImage.network(
String url, {
Key? key,
double? width,
double? height,
BoxFit fit = BoxFit.cover,
int? maxWidth,
int? maxHeight,
Widget? placeholder,
Widget? errorWidget,
Map<String, String>? httpHeaders,
}) =>
OptimizedImage(
key: key,
networkUrl: url,
width: width,
height: height,
fit: fit,
maxWidth: maxWidth,
maxHeight: maxHeight,
placeholder: placeholder,
errorWidget: errorWidget,
httpHeaders: httpHeaders,
);