ProductPicture.fromTransientFile constructor
ProductPicture.fromTransientFile({ - required TransientFile transientFile,
- required Size size,
- OpenFoodFactsLanguage? language,
- bool allowAlternativeLanguage = false,
- Product? product,
- ImageField? imageField,
- String? fallbackUrl,
- VoidCallback? onTap,
- String? heroTag,
- bool showObsoleteIcon = false,
- bool showOwnerIcon = false,
- BorderRadius? borderRadius,
- double imageFoundBorder = 0.0,
- double imageNotFoundBorder = 0.0,
- TextStyle? errorTextStyle,
- WidgetBuilder? noImageBuilder,
- bool blurFilter = true,
})
Implementation
ProductPicture.fromTransientFile({
required TransientFile transientFile,
required Size size,
OpenFoodFactsLanguage? language,
bool allowAlternativeLanguage = false,
Product? product,
ImageField? imageField,
String? fallbackUrl,
VoidCallback? onTap,
String? heroTag,
bool showObsoleteIcon = false,
bool showOwnerIcon = false,
BorderRadius? borderRadius,
double imageFoundBorder = 0.0,
double imageNotFoundBorder = 0.0,
TextStyle? errorTextStyle,
WidgetBuilder? noImageBuilder,
bool blurFilter = true,
}) : this._(
transientFile: transientFile,
product: product,
imageField: imageField,
language: language,
allowAlternativeLanguage: allowAlternativeLanguage,
size: size,
fallbackUrl: fallbackUrl,
heroTag: heroTag,
onTap: onTap,
borderRadius: borderRadius,
imageFoundBorder: imageFoundBorder,
imageNotFoundBorder: imageNotFoundBorder,
errorTextStyle: errorTextStyle,
showObsoleteIcon: showObsoleteIcon,
showOwnerIcon: showOwnerIcon,
noImageBuilder: noImageBuilder,
blurFilter: blurFilter,
imageProvider: null,
);