scrollBehavior property

ScrollBehavior? scrollBehavior

A ScrollBehavior that will be applied to this widget individually.

Defaults to null, wherein the inherited ScrollBehavior is copied and modified to alter the viewport decoration, like Scrollbars.

ScrollBehaviors also provide ScrollPhysics. If an explicit ScrollPhysics is provided in physics, it will take precedence, followed by scrollBehavior, and then the inherited ancestor ScrollBehavior.


final ScrollBehavior? scrollBehavior;