GradientView constructor

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

Implementation

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