AssetEntityImageProvider constructor
const
AssetEntityImageProvider(
- AssetEntity entity, {
- double scale = 1.0,
- List<
int> ? thumbSize = const <int>[200, 200], - bool isOriginal = false,
Implementation
const AssetEntityImageProvider(
this.entity, {
this.scale = 1.0,
this.thumbSize = const <int>[
200,
200,
],
this.isOriginal = false,
}) : assert(
isOriginal || thumbSize?.length == 2,
'thumbSize must contain and only contain two integers when it\'s not original',
);