GradientBall constructor

const GradientBall({
  1. Key? key,
  2. required List<Color> colors,
  3. Size size = const Size.square(150),
})

Implementation

const GradientBall({
  super.key,
  required this.colors,
  this.size = const Size.square(150),
});