viewPoint method
(x, y) in the view, as the input gives a finger's place: for
camera.screenPointToRay and the like. Throws a StateError while
the input has no view size.
Implementation
ViewPoint viewPoint(double x, double y) {
_sized('viewPoint');
return ViewPoint(x, y, width: input.width, height: input.height);
}