rememberScrollIndicatorState
@Composable
Create a ScrollIndicatorState for ScrollState.
Parameters
orientation
The orientation of the scroll indicator. Orientation.Vertical for Column and Orientation.Horizontal for Row.
state
The ScrollState that applied to Modifier.verticalScroll or Modifier.horizontalScroll of Column or Row.
Create a ScrollIndicatorState for LazyListState.
Parameters
state
The LazyListState that applied to LazyColumn or LazyRow.