setPixels method

  1. @override
double setPixels(
  1. double available,
  2. AppBarPosition appBar,
  3. NestedScrollPosition scroll
)
override

Updates the given appbar based on available scroll offset, the current appbar position, and the nested scroll position.

And, returns the value remaining after consumption.

Implementation

@override
double setPixels(
  double available,
  AppBarPosition appBar,
  NestedScrollPosition scroll,
) {
  return 0.0;
}