LinearGradientProgressBar constructor
const
LinearGradientProgressBar({
- Key? key,
- required double value,
- required Gradient gradient,
- Duration animationDuration = const Duration(milliseconds: 300),
- double minHeight = 16,
- Color? backgroundColor,
- BorderRadius borderRadius = BorderRadius.zero,
- double blurRadius = 25,
- double spreadRadius = 3,
- Color? glowColor,
- bool enableGlow = true,
- BoxBorder? border,
- Widget? child,
Implementation
const LinearGradientProgressBar({
Key? key,
required this.value,
required this.gradient,
this.animationDuration = const Duration(milliseconds: 300),
this.minHeight = 16,
this.backgroundColor,
this.borderRadius = BorderRadius.zero,
this.blurRadius = 25,
this.spreadRadius = 3,
this.glowColor,
this.enableGlow = true,
this.border,
this.child,
}) : super(key: key);