OudsDeterminateLinearProgressIndicatorHelperText

class OudsDeterminateLinearProgressIndicatorHelperText(progress: Boolean = true, label: String? = null, progressAlignment: Alignment.Horizontal = OudsLinearProgressIndicatorHelperTextDefaults.progressAlignment(label), labelAlignment: Alignment.Horizontal = OudsLinearProgressIndicatorHelperTextDefaults.labelAlignment(progress)) : OudsLinearProgressIndicatorHelperText

Configuration for helper text displayed alongside a determinate linear progress indicator.

Helper text can display the current progress percentage and/or a custom text label with configurable alignment.

Note: When both progress and label are displayed, expected values for alignments are Alignment.Start and Alignment.End. Other alignment combinations may produce unexpected results.

Parameters

progress

Whether to display the progress percentage (e.g., "75%").

label

Custom text label to display.

progressAlignment

Horizontal alignment for the progress percentage text.

labelAlignment

Horizontal alignment for the custom label text.

Constructors

constructor(progress: Boolean = true, label: String? = null, progressAlignment: Alignment.Horizontal = OudsLinearProgressIndicatorHelperTextDefaults.progressAlignment(label), labelAlignment: Alignment.Horizontal = OudsLinearProgressIndicatorHelperTextDefaults.labelAlignment(progress))

Properties

Link copied to clipboard

Custom text label.

Link copied to clipboard

Horizontal alignment for the custom label.

Link copied to clipboard

Whether to display the progress percentage.

Link copied to clipboard

Horizontal alignment for the progress percentage.

Link copied to clipboard

Optional test tag for UI testing purposes.