From 3433972023d25975dd41e9856b35e21557671f6d Mon Sep 17 00:00:00 2001 From: Dain Nilsson Date: Fri, 3 Jun 2022 10:15:31 +0200 Subject: [PATCH] Use FilterQuality.medium for device images. --- lib/app/views/device_images.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/app/views/device_images.dart b/lib/app/views/device_images.dart index 1a83340e..9fa240ca 100755 --- a/lib/app/views/device_images.dart +++ b/lib/app/views/device_images.dart @@ -38,5 +38,9 @@ Image getProductImage(DeviceInfo info, String name) { : _imagesForFormFactor[info.formFactor]; image ??= 'yk5series'; - return Image.asset('assets/product-images/$image.png'); + return Image.asset( + 'assets/product-images/$image.png', + // Medium provides the best results when scaling down + filterQuality: FilterQuality.medium, + ); }