AurisProgressBar constructor
const
AurisProgressBar({})
Creates a segmented progress meter that renders value immediately.
Implementation
const AurisProgressBar({
super.key,
required this.value,
this.label,
this.valueLabel,
this.segments = 20,
this.variant = AurisProgressVariant.primary,
this.height = 10,
this.spacing = 2,
}) : animated = false,
assert(value >= 0 && value <= 1, 'value must be in 0..1'),
assert(segments > 0, 'segments must be positive');