diff --git a/dev/integration_tests/new_gallery/lib/studies/crane/backdrop.dart b/dev/integration_tests/new_gallery/lib/studies/crane/backdrop.dart index cfa9b6e074..3252a71817 100644 --- a/dev/integration_tests/new_gallery/lib/studies/crane/backdrop.dart +++ b/dev/integration_tests/new_gallery/lib/studies/crane/backdrop.dart @@ -337,9 +337,13 @@ class _CraneAppBarState extends State { children: [ const ExcludeSemantics( child: FadeInImagePlaceholder( - image: AssetImage( - 'crane/logo/logo.png', - package: 'flutter_gallery_assets', + image: ResizeImage( + AssetImage( + 'crane/logo/logo.png', + package: 'flutter_gallery_assets', + ), + width: 40, + height: 60, ), placeholder: SizedBox( width: 40, diff --git a/dev/integration_tests/new_gallery/lib/studies/crane/item_cards.dart b/dev/integration_tests/new_gallery/lib/studies/crane/item_cards.dart index dc926f6cc7..c5abd5f522 100644 --- a/dev/integration_tests/new_gallery/lib/studies/crane/item_cards.dart +++ b/dev/integration_tests/new_gallery/lib/studies/crane/item_cards.dart @@ -101,9 +101,13 @@ class _DestinationImage extends StatelessWidget { label: destination.assetSemanticLabel, child: ExcludeSemantics( child: FadeInImagePlaceholder( - image: AssetImage( - destination.assetName, - package: 'flutter_gallery_assets', + image: ResizeImage( + AssetImage( + destination.assetName, + package: 'flutter_gallery_assets', + ), + width: isDesktop ? null : mobileThumbnailSize.toInt(), + height: isDesktop ? null : mobileThumbnailSize.toInt(), ), fit: BoxFit.cover, width: isDesktop ? null : mobileThumbnailSize,