setPixels method

double setPixels (double pixels)

Update the scroll position to the given pixel value.

Returns the overscroll, if any. See ScrollPosition.setPixels for more information.

Implementation

double setPixels(double pixels);