Fix documentation for filterQuality fields (#104056)

This commit is contained in:
Bruno Leroux 2022-05-18 23:42:10 +02:00 committed by GitHub
parent 992c893cfd
commit 8afaf7b58e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -154,9 +154,8 @@ class DecorationImage {
/// Used to set the filterQuality of the image. /// Used to set the filterQuality of the image.
/// ///
/// Use the "low" quality setting to scale the image, which corresponds to /// Defaults to [FilterQuality.low] to scale the image, which corresponds to
/// bilinear interpolation, rather than the default "none" which corresponds /// bilinear interpolation.
/// to nearest-neighbor.
final FilterQuality filterQuality; final FilterQuality filterQuality;
/// Whether the colors of the image are inverted when drawn. /// Whether the colors of the image are inverted when drawn.

View File

@ -5702,9 +5702,8 @@ class RawImage extends LeafRenderObjectWidget {
/// Used to set the filterQuality of the image. /// Used to set the filterQuality of the image.
/// ///
/// Use the "low" quality setting to scale the image, which corresponds to /// Defaults to [FilterQuality.low] to scale the image, which corresponds to
/// bilinear interpolation, rather than the default "none" which corresponds /// bilinear interpolation.
/// to nearest-neighbor.
final FilterQuality filterQuality; final FilterQuality filterQuality;
/// Used to combine [color] with this image. /// Used to combine [color] with this image.