Contents

makeBody(configuration:)

Creates a view representing the body of a gauge.

Declaration

@ViewBuilder @MainActor @preconcurrency func makeBody(configuration: Self.Configuration) -> Self.Body

Parameters

  • configuration:

    The properties to apply to the gauge instance.

Discussion

The system calls this modifier on each instance of gauge within a view hierarchy where this style is the current gauge style.

See Also

Creating custom gauge styles