restore2DeviceSize function

Size restore2DeviceSize(
  1. Size dpSize
)

Implementation

BlueprintsRectangle _uiBlueprints = const BlueprintsRectangle(0, 0);double restore2DeviceValue(double dpValue) {return dpValue * Info.instance.restoreRatio;}EdgeInsets restore2DeviceEdgeInsets(EdgeInsets dpEdgeInsets) {return dpEdgeInsets * Info.instance.restoreRatio;}Size restore2DeviceSize(Size dpSize) {return dpSize * Info.instance.restoreRatio;}