is At Top
Checks if the first item in the lazy list is visible at index 0 and fully aligned at the top (scroll offset 0).
Performance Note: When reading this property inside a Composable, wrap it in androidx.compose.runtime.derivedStateOf to prevent recomposition on every pixel scrolled:
val isAtTop by remember { derivedStateOf { listState.isAtTop } }Content copied to clipboard