AnimatedGradientBorder constructor

const AnimatedGradientBorder({
  1. Key? key,
  2. required Widget child,
  3. required List<Color> gradientColors,
  4. double borderWidth = 2.0,
  5. double borderRadius = 8.0,
  6. bool animate = true,
  7. Duration animationDuration = const Duration(seconds: 2),
  8. bool selected = false,
})

Implementation

const AnimatedGradientBorder({
  Key? key,
  required this.child,
  required this.gradientColors,
  this.borderWidth = 2.0,
  this.borderRadius = 8.0,
  this.animate = true,
  this.animationDuration = const Duration(seconds: 2),
  this.selected = false,
}) : super(key: key);