LinearGradientProgressBar constructor

const LinearGradientProgressBar({
  1. Key? key,
  2. required double value,
  3. required Gradient gradient,
  4. Duration animationDuration = const Duration(milliseconds: 300),
  5. double minHeight = 16,
  6. Color? backgroundColor,
  7. BorderRadius borderRadius = BorderRadius.zero,
  8. double blurRadius = 25,
  9. double spreadRadius = 3,
  10. Color? glowColor,
  11. bool enableGlow = true,
  12. BoxBorder? border,
  13. 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);