setCollapsedItemSpacing

open fun setCollapsedItemSpacing(@Px itemSpacing: Int)

Sets the padding in between the navigation rail menu items when the navigation rail is collapsed.

Parameters

itemSpacing

the desired item spacing in between the items when the nav rail is collapsed