clarify how to display an image with a specific density (#21152)
Closes #18679
This commit is contained in:
committed by
Ian Hickson
parent
cc9b256f9f
commit
3c22d7b025
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user