VentLinearProgressBar constructor
const
VentLinearProgressBar({})
Implementation
const VentLinearProgressBar({
super.key,
this.height = 8,
this.width = double.infinity,
required this.progress,
this.animationDuration = const Duration(seconds: 1),
this.withAnimation = true,
this.curve = Curves.linear,
this.decoration,
this.onComplete,
}) : assert(
progress >= 0 && progress <= 1, 'Progress must be between 0 and 1'),
type = VentProgressBarType.DEFAULT,
decimal = 0;