AssetEntityImage constructor

AssetEntityImage(
  1. AssetEntity entity, {
  2. bool isOriginal = true,
  3. ThumbnailSize? thumbnailSize = pmDefaultGridThumbnailSize,
  4. ThumbnailFormat thumbnailFormat = ThumbnailFormat.jpeg,
  5. int frame = 0,
  6. PMProgressHandler? progressHandler,
  7. Key? key,
  8. ImageFrameBuilder? frameBuilder,
  9. ImageLoadingBuilder? loadingBuilder,
  10. ImageErrorWidgetBuilder? errorBuilder,
  11. String? semanticLabel,
  12. bool excludeFromSemantics = false,
  13. double? width,
  14. double? height,
  15. Color? color,
  16. Animation<double>? opacity,
  17. BlendMode? colorBlendMode,
  18. BoxFit? fit,
  19. AlignmentGeometry alignment = Alignment.center,
  20. ImageRepeat repeat = ImageRepeat.noRepeat,
  21. Rect? centerSlice,
  22. bool matchTextDirection = false,
  23. bool gaplessPlayback = false,
  24. bool isAntiAlias = false,
  25. FilterQuality filterQuality = FilterQuality.low,
})

Implementation

AssetEntityImage(
  AssetEntity entity, {
  bool isOriginal = true,
  ThumbnailSize? thumbnailSize = pmDefaultGridThumbnailSize,
  ThumbnailFormat thumbnailFormat = ThumbnailFormat.jpeg,
  int frame = 0,
  PMProgressHandler? progressHandler,
  Key? key,
  ImageFrameBuilder? frameBuilder,
  ImageLoadingBuilder? loadingBuilder,
  ImageErrorWidgetBuilder? errorBuilder,
  String? semanticLabel,
  bool excludeFromSemantics = false,
  double? width,
  double? height,
  Color? color,
  Animation<double>? opacity,
  BlendMode? colorBlendMode,
  BoxFit? fit,
  AlignmentGeometry alignment = Alignment.center,
  ImageRepeat repeat = ImageRepeat.noRepeat,
  Rect? centerSlice,
  bool matchTextDirection = false,
  bool gaplessPlayback = false,
  bool isAntiAlias = false,
  FilterQuality filterQuality = FilterQuality.low,
}) : super(
        key: key,
        image: AssetEntityImageProvider(
          entity,
          isOriginal: isOriginal,
          thumbnailSize: thumbnailSize,
          thumbnailFormat: thumbnailFormat,
          frame: frame,
          progressHandler: progressHandler,
        ),
        frameBuilder: frameBuilder,
        loadingBuilder: loadingBuilder,
        errorBuilder: errorBuilder,
        semanticLabel: semanticLabel,
        excludeFromSemantics: excludeFromSemantics,
        width: width,
        height: height,
        color: color,
        opacity: opacity,
        colorBlendMode: colorBlendMode,
        fit: fit,
        alignment: alignment,
        repeat: repeat,
        centerSlice: centerSlice,
        matchTextDirection: matchTextDirection,
        gaplessPlayback: gaplessPlayback,
        isAntiAlias: isAntiAlias,
        filterQuality: filterQuality,
      );