FlutterImageWidget constructor
FlutterImageWidget({
- Key? key,
- String? url,
- String? imageAssetPath,
- String? svgPath,
- File? pickerFilePath,
- double? height,
- double? width,
- Color? color,
- BoxFit? fit,
- Alignment? alignment,
- VoidCallback? onTap,
- BorderRadius? radius,
- EdgeInsetsGeometry? margin,
- BoxBorder? border,
- String placeHolder = ImageConstant.imageNotFound,
a FlutterImageWidget it can be used for showing any type of images it will shows the placeholder image if image is not found on network image
Implementation
FlutterImageWidget({
super.key,
this.url,
this.imageAssetPath,
this.svgPath,
this.pickerFilePath,
this.height,
this.width,
this.color,
this.fit,
this.alignment,
this.onTap,
this.radius,
this.margin,
this.border,
this.placeHolder = ImageConstant.imageNotFound,
});