snapTo

abstract suspend fun snapTo(targetValue: WideNavigationRailValue)

Set the state without any animation and suspend until it's set.

Parameters

targetValue

the expanded boolean to set to