OutlineAvatarGlow constructor

const OutlineAvatarGlow({
  1. Key? key,
  2. required Widget child,
  3. int glowCount = 2,
  4. Color glowColor = Colors.white,
  5. BoxShape glowShape = BoxShape.circle,
  6. BorderRadius? glowBorderRadius,
  7. Duration duration = const Duration(seconds: 2),
  8. Duration? startDelay,
  9. bool animate = true,
  10. bool repeat = true,
  11. Curve curve = Curves.fastOutSlowIn,
  12. double glowRadiusFactor = 0.7,
})

Creates a widget that displays a glowing outline around its child.

The child parameter is required and must not be null.

Implementation

const OutlineAvatarGlow({
  super.key,
  required this.child,
  this.glowCount = 2,
  this.glowColor = Colors.white,
  this.glowShape = BoxShape.circle,
  this.glowBorderRadius,
  this.duration = const Duration(seconds: 2),
  this.startDelay,
  this.animate = true,
  this.repeat = true,
  this.curve = Curves.fastOutSlowIn,
  this.glowRadiusFactor = 0.7,
});