clarify how to display an image with a specific density (#21152)

Closes #18679
This commit is contained in:
sir-boformer
2018-09-18 16:29:52 -07:00
committed by Ian Hickson
parent cc9b256f9f
commit 3c22d7b025

View File

@@ -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.
//