rememberVisibilityProgress

fun DrawerState.rememberVisibilityProgress(maxWidth: Dp = DrawerDefaults.MaximumDrawerWidth): State<Float>

Return

the remembered drawer visibility percentage ranging from 0 to 1.

Parameters

maxWidth

The max drawer sheet width. Will equal DrawerDefaults.MaximumDrawerWidth by default.