RadialGradientContainer constructor
const
RadialGradientContainer({
- 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.orange, Colors.red], - List<
double> ? stops, - AlignmentGeometry center = Alignment.center,
- double radius = 0.85,
Implementation
const RadialGradientContainer({
super.key,
super.child,
super.borderRadius,
super.width,
super.height,
super.padding,
super.margin,
super.shape,
super.onTap,
super.mouseCursor,
this.colors = const [Colors.orange, Colors.red],
this.stops,
this.center = Alignment.center,
this.radius = 0.85,
});