setRect method

RectProperties setRect(
  1. Rect rect,
  2. DeviceType deviceType
)
inherited

Implementation

RectProperties setRect(Rect rect, DeviceType deviceType) =>
    getRectProperties.copyWith(
        rect: getRectProperties.rect
            .copyWithNewRectByDeviceType(deviceType, rect));