Added LargeTopAppBarNestedScrollConnection
A NestedScrollConnection that listens for all vertical scroll events and responds in the following way: - If you **scroll up**, it **first brings the [height]** back to the [minHeight] and then allows scrolling of the children (usually the content). - If you **scroll down**, it **first allows scrolling of the children** (usually the content) and then resets the [height] to [maxHeight]. This behavior is useful for implementing a [Large top app bar](https://m3.material.io/components/top-app-bar/specs) effect or something similar. Test: atest LargeTopAppBarNestedScrollConnectionTest Bug: 291025415 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6b12c257c0d62cddab4041227348638472487241) Change-Id: Idc0669d1a95b804acda9a5546ff3faa11e4c6e9c
Loading
Please register or sign in to comment