AnimatedGradientBorderContainer constructor

const AnimatedGradientBorderContainer({
  1. Key? key,
  2. required Widget child,
  3. List<Color>? colors,
  4. double strokeWidth = 2.0,
  5. double borderRadius = 16.0,
  6. Color? backgroundColor,
  7. EdgeInsetsGeometry? padding,
  8. Duration duration = const Duration(seconds: 3),
})

Implementation

const AnimatedGradientBorderContainer({
  super.key,
  required this.child,
  this.colors,
  this.strokeWidth = 2.0,
  this.borderRadius = 16.0,
  this.backgroundColor,
  this.padding,
  this.duration = const Duration(seconds: 3),
});