toOffset method

Offset toOffset(
  1. Size size
)

Implementation

Offset toOffset(Size size) => Offset(x * size.width, y * size.height);