Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/ui/painting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1704,8 +1704,9 @@ class Codec extends NativeFieldWrapperClass2 {
/// The [targetWidth] and [targetHeight] arguments specify the size of the output
/// image, in image pixels. If they are not equal to the intrinsic dimensions of the
/// image, then the image will be scaled after being decoded. If only one dimension
/// is specified, the omitted dimension will remain its original size. If both are
/// not specified, then the image maintains its real size.
/// is specified, the omitted dimension will be scaled to maintain the original
/// aspect ratio. If both are not specified, then the image maintains its real
/// size.
///
/// The returned future can complete with an error if the image decoding has
/// failed.
Expand Down