GlowEffect constructor

const GlowEffect({
  1. Duration duration = const Duration(milliseconds: 1500),
  2. Curve curve = Curves.easeInOut,
  3. double blurMin = 3.0,
  4. double blurMax = 12.0,
  5. double opacityMin = 0.6,
  6. double opacityMax = 1.0,
  7. Color? glowColor,
  8. Duration delayBetweenChars = Duration.zero,
})

Creates a pulsing glow animation.

duration — one full glow pulse duration. curve — easing curve for the pulse. blurMin — minimum blur sigma at trough. blurMax — maximum blur sigma at peak. opacityMin — minimum opacity at trough. opacityMax — maximum opacity at peak. glowColor — optional color tint while glowing. delayBetweenChars — stagger (zero for simultaneous glow).

Implementation

const GlowEffect({
  super.duration = const Duration(milliseconds: 1500),
  super.curve = Curves.easeInOut,
  this.blurMin = 3.0,
  this.blurMax = 12.0,
  this.opacityMin = 0.6,
  this.opacityMax = 1.0,
  this.glowColor,
  super.delayBetweenChars = Duration.zero,
});