OutlineAvatarGlow constructor
const
OutlineAvatarGlow({
- Key? key,
- required Widget child,
- int glowCount = 2,
- Color glowColor = Colors.white,
- BoxShape glowShape = BoxShape.circle,
- BorderRadius? glowBorderRadius,
- Duration duration = const Duration(seconds: 2),
- Duration? startDelay,
- bool animate = true,
- bool repeat = true,
- Curve curve = Curves.fastOutSlowIn,
- 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,
});