NeonGradientContainer constructor

const NeonGradientContainer({
  1. Key? key,
  2. Widget? child,
  3. BorderRadius? borderRadius,
  4. double? width,
  5. double? height,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. List<Color> colors = const [Color(0xFF00FF87), Color(0xFF60EFFF)],
  9. List<double>? stops,
  10. AlignmentGeometry begin = Alignment.topLeft,
  11. AlignmentGeometry end = Alignment.bottomRight,
  12. double glowIntensity = 0.5,
  13. double glowSpread = 2,
  14. 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,
});