GradientMask constructor

const GradientMask({
  1. required Widget child,
  2. Key? key,
  3. bool disableGredient = false,
  4. Gradient gradient = const LinearGradient(colors: [Color(0xFFFFFFFF), Color.fromARGB(255, 255, 162, 196), Color.fromARGB(255, 209, 97, 97), Color.fromARGB(255, 255, 116, 190)]),
  5. TextStyle? style,
})

Implementation

const GradientMask({
  required this.child,
  Key? key,
  this.disableGredient = false,
  this.gradient = const LinearGradient(
    colors: [
      Color(0xFFFFFFFF),
      Color.fromARGB(255, 255, 162, 196),
      Color.fromARGB(255, 209, 97, 97),
      Color.fromARGB(255, 255, 116, 190),
    ],
  ),
  this.style,
}) : super(key: key);