Skip to content

currentValueLabel support on CircularProgressView #24

@mrevanzak

Description

@mrevanzak

Feature Description

   ProgressView(
        timerInterval: departureEstimatedTime...destinationEstimatedArrival,
        countsDown: false,
        label: { EmptyView() },
        currentValueLabel: {
          Image(systemName: "tram")
            .resizable()
            .scaledToFit()
            .frame(width: 12, height: 12)
            .foregroundColor(.highlight)
        }
      )
      .tint(.highlight)
      .progressViewStyle(.circular)
      .frame(width: 24, height: 24)

support for this kind of styling on CircularProgressView

Image

Problem Statement

I tried it by myself looking for workaround but no luck. it result with not rendering the component at all lol

Proposed Solution

No response

Alternatives Considered

No response

Current Library Version

1.0.1

Implementation

  • I would be willing to submit a pull request for this feature

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions