platforms/image_file library

Functions

extendedImageFile(String imageUri, {Key? key, BoxFit? fit, Color? color, double? width, double? height, Alignment alignment = Alignment.center, BlendMode? colorBlendMode, bool excludeFromSemantics = false, bool matchTextDirection = false, Widget? placeholder, double scale = 1.0, FilterQuality filterQuality = FilterQuality.low, bool isAntiAlias = false, ImageRepeat repeat = ImageRepeat.noRepeat, Rect? centerSlice, String? semanticLabel, bool gaplessPlayback = false, int? cacheWidth, int? cacheHeight, Widget? errorPlaceholder, bool enableMemoryCache = true, bool clearMemoryCacheIfFailed = true, bool clearMemoryCacheWhenDispose = false, int? maxBytes, double? compressionRatio}) Widget
Create extended image widget
precacheExtendedImageFile(BuildContext context, String imageUri) Future<void>
precache extended image
precacheSvgFile(String imageUri) Future<void>
precache svg data
svgFile(String imageUri, {Key? key, BoxFit? fit, Color? color, double? width, double? height, Alignment alignment = Alignment.center, BlendMode? colorBlendMode, bool excludeFromSemantics = false, bool matchTextDirection = false, bool allowDrawingOutsideViewBox = false, Widget? placeholder, bool cacheColorFilter = false, ColorFilter? colorFilter}) Widget
Create svg image widget