BasicNetworkImage constructor
const
BasicNetworkImage({
- Key? key,
- BasicImageSize size = BasicImageSize.medium,
- required String path,
- double? width,
- double? height,
- double? borderWidth,
- Color? borderColor,
- BoxShape shape = BoxShape.rectangle,
- BorderRadius? borderRadius,
- BoxFit boxFit = BoxFit.cover,
- String? assetPathWhenError,
- 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);