
Please provide any solutions, google or any new bots not helpful. }.padding(EdgeInsets(top: 1, leading: 20, bottom: 1, trailing: 20)) }.padding(EdgeInsets(top: 1, leading: 1, bottom: 1, trailing: 5)) I have debugged my ViewModel extensively and there is nothing wrong there. So after the new element is added, my view is showing the empty row with a system image, then the objects received. I know this because I am also displaying a system image in each HStack. The only thing is the it is adding an empty object at first, then the objects received in a list.

But I also have the functionality to add new object, and after adding the object, I am getting the new list along with the new object added by the user. And I am displaying each object in a HStack using the ForEach. So I have this API, which send a array of objects.

(source) Returns a new read-only list either of single given element, if it is not null, or empty list if the element is null.

