setDefaultUserScaleFactor method Null safety

void setDefaultUserScaleFactor(
  1. double scaleFactor
)

Set the default scale factor for all newly created DisplayModels, so can be used to apply user settings from a device.

@param scaleFactor the default scale factor to be applied to all new DisplayModels.

Implementation

static void setDefaultUserScaleFactor(double scaleFactor) {
  defaultUserScaleFactor = scaleFactor;
}