Neon constructor

Neon({
  1. required String text,
  2. required MaterialColor color,
  3. required NeonFont font,
  4. double fontSize = 30,
  5. double blurRadius = 30,
  6. bool flickeringText = false,
  7. List<int>? flickeringLetters,
  8. bool glowing = false,
  9. Duration glowingDuration = const Duration(milliseconds: 1500),
  10. TextStyle? textStyle,
  11. Key? key,
})

Implementation

Neon({
  required this.text,
  required this.color,
  required this.font,
  this.fontSize = 30,
  this.blurRadius = 30,
  this.flickeringText = false,
  this.flickeringLetters,
  this.glowing = false,
  this.glowingDuration = const Duration(milliseconds: 1500),
  this.textStyle,
  Key? key,
}) : super(key: key);