viewportPixels property

double get viewportPixels

The number of pixels to offset the children in the opposite of the axis direction.

Implementation

double get viewportPixels =>
    viewport.offset.hasPixels ? viewport.offset.pixels : 0;