filterQuality property Null safety

FilterQuality filterQuality

The quality of sampling the texture and rendering it on screen.

When the texture is scaled, a default FilterQuality.low is used for a higher quality but slower interpolation (typically bilinear). It can be changed to FilterQuality.none for a lower quality but faster interpolation (typically nearest-neighbor). See also FilterQuality.medium and FilterQuality.high for more options.

Implementation

FilterQuality get filterQuality => _filterQuality;
void filterQuality=(FilterQuality value)

Implementation

set filterQuality(FilterQuality value) {
  assert(value != null);
  if (value != _filterQuality) {
    _filterQuality = value;
    markNeedsPaint();
  }
}