GlowContainer constructor

const GlowContainer({
  1. Key? key,
  2. required Widget child,
  3. Color? glowColor,
  4. double glowIntensity = 0.5,
  5. Color? backgroundColor,
  6. double borderRadius = 16,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? margin,
  9. bool isPulsing = false,
  10. Duration pulseDuration = const Duration(milliseconds: 1500),
  11. bool isNeon = false,
  12. double? width,
  13. double? height,
  14. bool glowOnHover = false,
  15. VoidCallback? onTap,
})

Implementation

const GlowContainer({
  super.key,
  required this.child,
  this.glowColor,
  this.glowIntensity = 0.5,
  this.backgroundColor,
  this.borderRadius = 16,
  this.padding,
  this.margin,
  this.isPulsing = false,
  this.pulseDuration = const Duration(milliseconds: 1500),
  this.isNeon = false,
  this.width,
  this.height,
  this.glowOnHover = false,
  this.onTap,
});