square
A version of the variant that’s encapsulated in a square.
Declaration
var square: SymbolVariants { get }Discussion
Use this property to modify a variant like fill so that it’s also contained in a square:
Label("Fill Square", systemImage: "star")
.symbolVariant(.fill.square)[Image]