Skip to content

Instantly share code, notes, and snippets.

@fvilarino
Created December 4, 2022 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fvilarino/27a4f0fb0f7ad090a632d16a692b7e97 to your computer and use it in GitHub Desktop.
Save fvilarino/27a4f0fb0f7ad090a632d16a692b7e97 to your computer and use it in GitHub Desktop.
Segmented Progress - Gap
Canvas(
modifier
.progressSemantics(progress)
.height(progressHeight)
) {
drawSegments(backgroundColor, barHeight, numberOfSegments, gap)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment