setDeviceScaleFactor method Null safety

void setDeviceScaleFactor(
  1. double scaleFactor
)

Set the device scale factor.

@param scaleFactor the device scale factor.

Implementation

static void setDeviceScaleFactor(double scaleFactor) {
  deviceScaleFactor = scaleFactor;
}