isAntiAlias property Null safety

bool isAntiAlias

Whether to paint the image with anti-aliasing.

Anti-aliasing alleviates the sawtooth artifact when the image is rotated.

Implementation

bool get isAntiAlias => _isAntiAlias;
void isAntiAlias=(bool value)

Implementation

set isAntiAlias(bool value) {
  if (_isAntiAlias == value) {
    return;
  }
  assert(value != null);
  _isAntiAlias = value;
  markNeedsPaint();
}