indicatorScrollFraction property

double indicatorScrollFraction
final

Controls the scroll distance when indicators are pressed, as a fraction of the viewport dimension. For example:

  • 1.0 (default) scrolls exactly one viewport height/width
  • 0.5 scrolls half a viewport
  • 2.0 scrolls two viewports Must be greater than 0. Defaults to 1.0.

Implementation

final double indicatorScrollFraction;