GradientText constructor

const GradientText(
  1. String text, {
  2. Gradient? gradient,
  3. TextAlign? textAlign,
  4. TextStyle? style,
  5. Key? key,
})

Implementation

const GradientText(
  this.text, {
  this.gradient,
  this.textAlign,
  this.style,
  Key? key,
}) : super(key: key);