GradientBackground constructor

const GradientBackground({
  1. required Gradient gradient,
  2. bool modifyGradient = true,
  3. Key? key,
})

Implementation

const GradientBackground({
  required this.gradient,
  this.modifyGradient = true,
  Key? key,
}) : super(key: key);