withEnabled

open fun withEnabled(enabled: Boolean): ToolbarItem

A copy of this item with ToolbarItemState.isEnabled set to enabled; this when unchanged.