pixelsToSize method

double pixelsToSize(
  1. double pixels
)

Convert a sheet's pixel height to size (fractional value of parent container height).

Implementation

double pixelsToSize(double pixels) {
  _assertAttached();
  return _attachedController!.extent.pixelsToSize(pixels);
}