init(isSelected:)
Creates the state that describes if a UI element is selected.
Declaration
init(isSelected: Bool = false)Parameters
- isSelected:
A Boolean value that indicates whether the UI element is selected.
Creates the state that describes if a UI element is selected.
init(isSelected: Bool = false)A Boolean value that indicates whether the UI element is selected.