LinearProgressbar

fun LinearProgressbar(icon: ImageVector, enabled: Boolean = true, number: Float = 1000.0f, maxNumber: Float = 1000.0f, indicatorHeight: Dp = 15.dp, linearProgressCustom: LinearProgressCustom = LinearProgressCustom(), linearProgressCounter: LinearProgressCounter = LinearProgressCounter(), animationDuration: Int = 1000, animationDelay: Int = 0, style: TextStyle = LocalTextStyle.current)

LinearProgressbar

Parameters

icon

ImageVector the value we want in case the Bitmap is null, by default it will be an empty one

enabled

Boolean Enables or disables the content, showing a colour, indicating that it is not active

number

Float The current progress number

maxNumber

Float The maximum amount of progress that can be achieved

indicatorHeight

Dp Progress bar height

linearProgressCustom

LinearProgressCustom Progress bar elements and icon customisations

linearProgressCounter

LinearProgressCounter Counter customisations

animationDuration

Int Duration of the initial animation

animationDelay

Int Time delay in the initial animation duration

style

TextStyle Style to be displayed in the counter text


fun LinearProgressbar(icon: Painter, enabled: Boolean = true, number: Float = 1000.0f, maxNumber: Float = 1000.0f, indicatorHeight: Dp = 15.dp, linearProgressCustom: LinearProgressCustom = LinearProgressCustom(), linearProgressCounter: LinearProgressCounter = LinearProgressCounter(), animationDuration: Int = 1000, animationDelay: Int = 0, style: TextStyle = LocalTextStyle.current)

LinearProgressbar

Parameters

icon

Painter the value we want in case the Bitmap is null, by default it will be an empty one

enabled

Boolean Enables or disables the content, showing a colour, indicating that it is not active

number

Float The current progress number

maxNumber

Float The maximum amount of progress that can be achieved

indicatorHeight

Dp Progress bar height

linearProgressCustom

LinearProgressCustom Progress bar elements and icon customisations

linearProgressCounter

LinearProgressCounter Counter customisations

animationDuration

Int Duration of the initial animation

animationDelay

Int Time delay in the initial animation duration

style

TextStyle Style to be displayed in the counter text