setPixels method

  1. @override
double setPixels(
  1. double newPixels
)
override

Update the scroll position to the given pixel value.

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

Implementation

@override
double setPixels(double newPixels) {
  assert(false);
  return 0.0;
}