setPixels method Null safety

double setPixels(
  1. 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);