You don't have a public property in structs and classes.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: