ProgressBar
A horizontal bar that tracks progress.
The bar has three states:
indeterminate: the bar will draw its full width and show a pulsing animation based on
pulsePosition
in progress: the bar will draw a width proportional to
fractionComplete
, orcompleted / total
finished: the bar will draw its full width with no pulse.
Constructors
Link copied to clipboard
constructor(total: Long = 100, completed: Long = 0, indeterminate: Boolean = false, width: Int? = null, pulsePosition: Float = 0.0f, showPulse: Boolean? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null)
constructor(fractionComplete: Float = 0.0f, indeterminate: Boolean = false, width: Int? = null, pulsePosition: Float = 0.0f, showPulse: Boolean? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null)