set Scroll Effect
Set the scroll effect to be applied when the AppBarLayout's offset changes.
Parameters
scroll Effect
An AppBarLayoutChildScrollEffect
implementation. If SCROLL_EFFECT_NONE is passed, the scroll effect will be cleared and no effect will be applied.