QueryArtworkWidget constructor
const
QueryArtworkWidget({
- Key? key,
- required int id,
- required ArtworkType type,
- required String? artwork,
- required int deviceSDK,
- ArtworkFormat? format,
- int? size,
- bool? requestPermission,
- FilterQuality? artworkQuality,
- BorderRadius? artworkBorder,
- double? artworkWidth,
- double? artworkHeight,
- BoxFit? artworkFit,
- Clip? artworkClipBehavior,
- double? artworkScale,
- ImageRepeat? artworkRepeat,
- Color? artworkColor,
- BlendMode? artworkBlendMode,
- bool? keepOldArtwork,
- Widget? nullArtworkWidget,
Create a custom image Widget.
If you are using Android >= 29 the image returned it's from queryArtworks
and if Android is below 29 the image it's returned from artwork
.
Implementation
const QueryArtworkWidget(
{Key? key,
required this.id,
required this.type,
required this.artwork,
required this.deviceSDK,
this.format,
this.size,
this.requestPermission,
this.artworkQuality,
this.artworkBorder,
this.artworkWidth,
this.artworkHeight,
this.artworkFit,
this.artworkClipBehavior,
this.artworkScale,
this.artworkRepeat,
this.artworkColor,
this.artworkBlendMode,
this.keepOldArtwork,
// this.cacheArtworkHeight,
// this.cacheArtworkWidth,
this.nullArtworkWidget});