Contents

fill

A filled version of the variant.

Declaration

var fill: SymbolVariants { get }

Discussion

Use this property to modify a shape variant like circle so that it’s also filled:

Label("Circle Fill", systemImage: "flag")
    .symbolVariant(.circle.fill)

[Image]

See Also

Modifying a variant