scale property Null safety

double scale

Specifies the image's scale.

Used when determining the best display size for the image.

Implementation

double get scale => _scale;
void scale=(double value)

Implementation

set scale(double value) {
  assert(value != null);
  if (value == _scale) {
    return;
  }
  _scale = value;
  markNeedsLayout();
}