PlatformLayoutInfo.ofLayoutInfo constructor

PlatformLayoutInfo.ofLayoutInfo(
  1. LayoutInfo layoutInfo,
  2. TargetPlatform platform,
  3. EdgeInsets safeArea,
  4. DeviceInfo deviceInfo
)

Implementation

PlatformLayoutInfo.ofLayoutInfo(
    LayoutInfo layoutInfo, this.platform, this.safeArea, this.deviceInfo)
    : screenSize = layoutInfo.screenSize,
      platformStyle = layoutInfo.platformStyle,
      screenType = layoutInfo.screenType;