customPixelRatio property
The pixel ratio of the image relative to the content.
Normally, you do not need to set any value here as the editor detects the pixel ratio automatically from the image. Only set a value here if you have a movable background, which may require a custom pixel ratio for proper scaling.
Implementation
final double? customPixelRatio;