Robuta

https://delasign.com/blog/how-to-use-an-emptyview-within-a-function-with-return-type-some-view/ How to use an EmptyView within a function with return type some View Add a @ViewBuilder parameter attribute to the function and remove the return types. how to use