Skip to content

Commit

Permalink
Fix documentation for filterQuality fields (#104056)
Browse files Browse the repository at this point in the history
  • Loading branch information
bleroux authored May 18, 2022
1 parent 992c893 commit 8afaf7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/flutter/lib/src/painting/decoration_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,8 @@ class DecorationImage {

/// Used to set the filterQuality of the image.
///
/// Use the "low" quality setting to scale the image, which corresponds to
/// bilinear interpolation, rather than the default "none" which corresponds
/// to nearest-neighbor.
/// Defaults to [FilterQuality.low] to scale the image, which corresponds to
/// bilinear interpolation.
final FilterQuality filterQuality;

/// Whether the colors of the image are inverted when drawn.
Expand Down
5 changes: 2 additions & 3 deletions packages/flutter/lib/src/widgets/basic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5702,9 +5702,8 @@ class RawImage extends LeafRenderObjectWidget {

/// Used to set the filterQuality of the image.
///
/// Use the "low" quality setting to scale the image, which corresponds to
/// bilinear interpolation, rather than the default "none" which corresponds
/// to nearest-neighbor.
/// Defaults to [FilterQuality.low] to scale the image, which corresponds to
/// bilinear interpolation.
final FilterQuality filterQuality;

/// Used to combine [color] with this image.
Expand Down

0 comments on commit 8afaf7b

Please sign in to comment.