XImage.network constructor
XImage.network(
- String url, {
- double? width,
- double? height,
- BoxFit fit = BoxFit.contain,
- WidgetBuilder? placeholderBuilder,
Implementation
factory XImage.network(String url,
{double? width,
double? height,
BoxFit fit = BoxFit.contain,
WidgetBuilder? placeholderBuilder}) {
return XImage(
uri: url,
remote: true,
width: width,
height: height,
fit: fit,
placeholderBuilder: placeholderBuilder);
}