-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved AssetImage Docs #78173
Improved AssetImage Docs #78173
Changes from 1 commit
d475746
01d02a1
a7d1769
d6bb944
07ecc5b
bed0fd2
22103a0
d69ed76
5a4626b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,11 @@ const double _kLowDprLimit = 2.0; | |
/// ```dart | ||
/// AssetImage('icons/heart.png') | ||
/// ``` | ||
/// See also: | ||
/// | ||
/// * [loading images](https://flutter.dev/docs/development/ui/assets-and-images#loading-images-1) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. start each bullet with a captital letter There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That link doesn't actually show how to use an AssetImage to get the asset, as far as i can tell. It shows how to use an AssetImage with an Image widget but that's already explained in the "See also" link at the bottom of this section. What #78088 is asking for is for sample code showing how to actually get a |
||
/// for an example on how to use the [AssetImage] class to fetch an image. | ||
/// | ||
/// ## Assets in packages | ||
/// | ||
/// To fetch an asset from a package, the [package] argument must be provided. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank line before paragraph