From 3c22d7b025642abd865160970d39f8c5ba7d3162 Mon Sep 17 00:00:00 2001 From: sir-boformer Date: Tue, 18 Sep 2018 16:29:52 -0700 Subject: [PATCH] clarify how to display an image with a specific density (#21152) Closes #18679 --- packages/flutter/lib/src/widgets/image.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/image.dart b/packages/flutter/lib/src/widgets/image.dart index 72dffcee72..59232c0b0b 100644 --- a/packages/flutter/lib/src/widgets/image.dart +++ b/packages/flutter/lib/src/widgets/image.dart @@ -250,7 +250,8 @@ class Image extends StatefulWidget { /// addition: /// /// * If the `scale` argument is provided and is not null, then the exact - /// asset specified will be used. + /// asset specified will be used. To display an image variant with a specific + /// density, the exact path must be provided (e.g. `images/2x/cat.png`). /// /// If [excludeFromSemantics] is true, then [semanticLabel] will be ignored. //