@ekurutepe, thanks for sharing your insights!
With your proposed solution, I get the error:
Closure containing control flow statement cannot be used with result builder 'WidgetBundleBuilder'
How are you able to circumvent this limitation?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: