applyViewPortTransfrom method
Helper function to apply viewportOffset and viewportScale to a Offset
Implementation
Offset applyViewPortTransfrom(Offset inital) =>
(inital - viewportOffset) * viewportScale;
Helper function to apply viewportOffset and viewportScale to a Offset
Offset applyViewPortTransfrom(Offset inital) =>
(inital - viewportOffset) * viewportScale;