AnimatedGradientBackground constructor

const AnimatedGradientBackground({
  1. Key? key,
  2. Widget? child,
  3. List<Color>? colors,
  4. Duration duration = const Duration(seconds: 5),
  5. GradientAnimationType animationType = GradientAnimationType.colorShift,
  6. bool animate = true,
  7. double? borderRadius,
  8. List<double>? stops,
})

Implementation

const AnimatedGradientBackground({
  super.key,
  this.child,
  this.colors,
  this.duration = const Duration(seconds: 5),
  this.animationType = GradientAnimationType.colorShift,
  this.animate = true,
  this.borderRadius,
  this.stops,
});