CoderAnimatedGradientBorder constructor

const CoderAnimatedGradientBorder({
  1. Key? key,
  2. required Widget child,
  3. required List<Color> gradientColors,
  4. required BorderRadiusGeometry borderRadius,
  5. int? animationTime,
  6. double? borderSize,
  7. double? glowSize,
  8. double? animationProgress,
  9. bool stretchAlongAxis = false,
  10. Axis stretchAxis = Axis.horizontal,
})

Creates a glowing animated gradient border around the child.

Requires gradientColors and borderRadius to be provided.

Implementation

const CoderAnimatedGradientBorder({
  super.key,
  required this.child,
  required this.gradientColors,
  required this.borderRadius,
  this.animationTime,
  this.borderSize,
  this.glowSize,
  this.animationProgress,
  this.stretchAlongAxis = false,
  this.stretchAxis = Axis.horizontal,
});