ThreeCirclesBackground constructor
ThreeCirclesBackground({})
Implementation
ThreeCirclesBackground({
Key? key,
required Size sizeOfScreen,
GradientColor gradientColor = GradientColor.blue,
Widget? child,
this.customColors,
}) : assert(gradientColor == GradientColor.blue ||
gradientColor == GradientColor.red ||
(gradientColor == GradientColor.custom &&
customColors != null &&
customColors.length == 3)),
super(
key: key,
circles:
sampleData(sizeOfScreen, _getColor(gradientColor, customColors)),
child: child,
);