GradientWidget constructor

const GradientWidget({
  1. Key? key,
  2. required Widget child,
  3. List<Color>? colors,
  4. BlendMode? blendMode,
})

Implementation

const GradientWidget({
  Key? key,
  required this.child,
  this.colors,
  this.blendMode,
}) : super(key: key);