Comment on Function Issue: Closure containing a declaration cannot be used with result builder 'ViewBuilder' Thank You, this resolved my issue. UI Frameworks SwiftUI Dec ’21