SweepGradientContainer constructor

const SweepGradientContainer({
  1. Key? key,
  2. Widget? child,
  3. BorderRadius? borderRadius,
  4. double? width,
  5. double? height,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. BoxShape shape = BoxShape.rectangle,
  9. VoidCallback? onTap,
  10. MouseCursor? mouseCursor,
  11. List<Color> colors = const [Colors.green, Colors.teal, Colors.blue],
  12. List<double>? stops,
  13. AlignmentGeometry center = Alignment.center,
  14. double startAngle = 0,
  15. 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,
});