public _ProgressBarPainter( float value, ProgressColors colors) { this.value = value; this.colors = colors; }
public ProgressBar( float relative, VoidCallback onDragStart = null, ChangeCallback changeCallback = null, ProgressColors colors = null, Key key = null ) : base(key) { this.relative = relative; this.colors = colors ?? new ProgressColors(); this.onDragStart = onDragStart; this.changeCallback = changeCallback; }