chooseWhether

Switch between both selected of unselected state using a boolean.

Return

the ImageVector of the icon state corresponding.

Parameters

isSelected

the boolean used to choose between states.