toNormal method

Offset toNormal(
  1. Offset pixel
)

Implementation

Offset toNormal(Offset pixel) => Offset(size.width <= 0 ? 0 : (pixel.dx + origin.dx) / size.width, _yUnit <= 0 ? 0 : (pixel.dy + origin.dy) / _yUnit);