BasicNetworkImage constructor

const BasicNetworkImage({
  1. Key? key,
  2. BasicImageSize size = BasicImageSize.medium,
  3. required String path,
  4. double? width,
  5. double? height,
  6. double? borderWidth,
  7. Color? borderColor,
  8. BoxShape shape = BoxShape.rectangle,
  9. BorderRadius? borderRadius,
  10. BoxFit boxFit = BoxFit.cover,
  11. String? assetPathWhenError,
  12. ImageProvider<Object>? imageProviderWhenError,
})

Implementation

const BasicNetworkImage({
  Key? key,
  this.size = BasicImageSize.medium,
  required this.path,
  this.width,
  this.height,
  this.borderWidth,
  this.borderColor,
  this.shape = BoxShape.rectangle,
  this.borderRadius,
  this.boxFit = BoxFit.cover,
  this.assetPathWhenError,
  this.imageProviderWhenError,
}) : super(key: key);