ProgressBar
Default
Day | Night |
---|---|
![]() |
![]() |
Installation
Backpack Compose is available through Maven Central. Check the main Readme for a complete installation guide.
Usage
Example of a ProgressBar:
import net.skyscanner.backpack.compose.progressbar.BpkProgressBar
BpkProgressBar(
value = 0.5F
)
Example of a stepped ProgressBar:
If stepped == true the number of steps will be equal to max, therefore the number of dividers will be equal to max - 1.
import net.skyscanner.backpack.compose.progressbar.BpkProgressBar
BpkProgressBar(
value = 3F,
max = 5F,
stepped = true
)