Commit 3c22d7b0 authored by sir-boformer's avatar sir-boformer Committed by Ian Hickson

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

Closes #18679
parent cc9b256f
......@@ -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.
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment