NeonGradientContainer constructor
const
NeonGradientContainer({
- Key? key,
- Widget? child,
- BorderRadius? borderRadius,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- List<
Color> colors = const [Color(0xFF00FF87), Color(0xFF60EFFF)], - List<
double> ? stops, - AlignmentGeometry begin = Alignment.topLeft,
- AlignmentGeometry end = Alignment.bottomRight,
- double glowIntensity = 0.5,
- double glowSpread = 2,
- Gradient? gradient,
Implementation
const NeonGradientContainer({
super.key,
super.child,
super.borderRadius,
super.width,
super.height,
super.padding,
super.margin,
this.colors = const [Color(0xFF00FF87), Color(0xFF60EFFF)],
this.stops,
this.begin = Alignment.topLeft,
this.end = Alignment.bottomRight,
this.glowIntensity = 0.5,
this.glowSpread = 2,
this.gradient,
});