NeonTextButton constructor

const NeonTextButton({
  1. Key? key,
  2. required String text,
  3. double fontSize = 20.0,
  4. TextStyle? textStyle,
  5. Color neonColor = Colors.cyanAccent,
  6. required VoidCallback onPressed,
  7. double glowRadius = 20.0,
  8. double padding = 16.0,
})

Implementation

const NeonTextButton({
  super.key,
  required this.text,
  this.fontSize = 20.0,
  this.textStyle,
  this.neonColor = Colors.cyanAccent,
  required this.onPressed,
  this.glowRadius = 20.0,
  this.padding = 16.0,
});