slash
A slashed version of the variant.
Declaration
var slash: SymbolVariants { get }Discussion
Use this property to modify a shape variant like circle so that it’s also covered by a slash:
Label("Circle Slash", systemImage: "flag")
.symbolVariant(.circle.slash)[Image]