Text("Hello world!")
.background(.cyan)
.frame(width: 200, height: 200)
.border(Color.blue, width: 1)
Text("Hello world!")
.frame(width: 200, height: 200)
.background(.cyan)
Rectangle()
.fill(.cyan)
.frame(width: 200, height: 200)
.border(Color.blue, width: 1)
The code result:

Why the order matters? And why the Rectangle().fill() not the same?