I believe this is the " Correct Solution for the mentioned problem" not the "AnyView"
Thanks a lot
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: