SweepGradientContainer constructor
const
SweepGradientContainer({
- Key? key,
- Widget? child,
- BorderRadius? borderRadius,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- BoxShape shape = BoxShape.rectangle,
- VoidCallback? onTap,
- MouseCursor? mouseCursor,
- List<
Color> colors = const [Colors.green, Colors.teal, Colors.blue], - List<
double> ? stops, - AlignmentGeometry center = Alignment.center,
- double startAngle = 0,
- double endAngle = 2 * 3.14159,
Implementation
const SweepGradientContainer({
super.key,
super.child,
super.borderRadius,
super.width,
super.height,
super.padding,
super.margin,
super.shape,
super.onTap,
super.mouseCursor,
this.colors = const [Colors.green, Colors.teal, Colors.blue],
this.stops,
this.center = Alignment.center,
this.startAngle = 0,
this.endAngle = 2 * 3.14159,
});