@@ -366,7 +366,7 @@ class Image extends StatefulWidget {
366
366
this .matchTextDirection = false ,
367
367
this .gaplessPlayback = false ,
368
368
this .isAntiAlias = false ,
369
- this .filterQuality = FilterQuality .low ,
369
+ this .filterQuality = FilterQuality .medium ,
370
370
});
371
371
372
372
/// Creates a widget that displays an [ImageStream] obtained from the network.
@@ -414,7 +414,7 @@ class Image extends StatefulWidget {
414
414
this .centerSlice,
415
415
this .matchTextDirection = false ,
416
416
this .gaplessPlayback = false ,
417
- this .filterQuality = FilterQuality .low ,
417
+ this .filterQuality = FilterQuality .medium ,
418
418
this .isAntiAlias = false ,
419
419
Map <String , String >? headers,
420
420
int ? cacheWidth,
@@ -471,7 +471,7 @@ class Image extends StatefulWidget {
471
471
this .matchTextDirection = false ,
472
472
this .gaplessPlayback = false ,
473
473
this .isAntiAlias = false ,
474
- this .filterQuality = FilterQuality .low ,
474
+ this .filterQuality = FilterQuality .medium ,
475
475
int ? cacheWidth,
476
476
int ? cacheHeight,
477
477
}) :
@@ -631,7 +631,7 @@ class Image extends StatefulWidget {
631
631
this .gaplessPlayback = false ,
632
632
this .isAntiAlias = false ,
633
633
String ? package,
634
- this .filterQuality = FilterQuality .low ,
634
+ this .filterQuality = FilterQuality .medium ,
635
635
int ? cacheWidth,
636
636
int ? cacheHeight,
637
637
}) : image = ResizeImage .resizeIfNeeded (
@@ -693,7 +693,7 @@ class Image extends StatefulWidget {
693
693
this .matchTextDirection = false ,
694
694
this .gaplessPlayback = false ,
695
695
this .isAntiAlias = false ,
696
- this .filterQuality = FilterQuality .low ,
696
+ this .filterQuality = FilterQuality .medium ,
697
697
int ? cacheWidth,
698
698
int ? cacheHeight,
699
699
}) : image = ResizeImage .resizeIfNeeded (cacheWidth, cacheHeight, MemoryImage (bytes, scale: scale)),
@@ -873,6 +873,8 @@ class Image extends StatefulWidget {
873
873
/// improve the rendered image quality in this case. Pixels may be misaligned
874
874
/// with the screen pixels as a result of transforms or scaling.
875
875
///
876
+ /// Defaults to [FilterQuality.medium] .
877
+ ///
876
878
/// See also:
877
879
///
878
880
/// * [FilterQuality] , the enum containing all possible filter quality
0 commit comments