struct ContentView: View {
@State var theme: Int = 1
var emojis = getEmojis(theme)
theme can not pass to the function.Cannot use instance member 'theme' within property initializer; property initializers run before 'self' is available i am not familiar to swift, when i code, i find that i can't pass a var's value to the function i wrote. plz help me. i can pass 1 or 2 or 3 to the function, but i can't pass a var's value to function.