Optionalbindan event to take the value from, instead of setting it by hand.
The bar subscribes for as long as it exists and unsubscribes when it is destroyed, which is the point: a subscription that outlives what it drives is a listener writing into a freed object.
Optionalborderdrawn around the track; null for none
Optionalborderhow thick that border is
Optionaldirectionwhich edge the fill grows from
Optionalfillthe fill itself. A Color is re-read every frame, so mutating the one you passed animates the bar
Optionalfontthe label's font family
Optionalfontthe label's font size, in pixels
the bar's full height, in pixels
Optionallabelthe label's colour
Optionallabelwhat the label says; the default is a rounded percentage
Optionalmaxthe value that reads as full
Optionalminthe value that reads as empty
Optionaloncalled whenever the value actually moves
Optionalpaddinghow far the fill sits inside the track, per side
Optionalradiuscorner radius; 0 is square
Optionalshowdraw a label over the bar
Optionaltrackbehind the fill; null leaves it hollow, showing whatever is behind
Optionalvaluewhere to start
the bar's full width, in pixels
Everything ProgressBar takes.