FlickerNeonText constructor

const FlickerNeonText({
  1. Key? key,
  2. required String text,
  3. TextAlign textAlign = TextAlign.center,
  4. FontStyle fontStyle = FontStyle.normal,
  5. TextOverflow textOverflow = TextOverflow.visible,
  6. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  7. TextDirection textDirection = TextDirection.ltr,
  8. bool isSoftWrap = true,
  9. double textSize = 20,
  10. FontWeight fontWeight = FontWeight.normal,
  11. Color spreadColor = Colors.deepPurple,
  12. double blurRadius = 20,
  13. Color textColor = Colors.white,
  14. bool randomFlicker = true,
  15. int flickerTimeInMilliSeconds = 3000,
  16. String? fontFamily,
  17. double? wordSpacing,
  18. int? maxLine,
  19. TextHeightBehavior? textHeightBehavior,
  20. double? letterSpacing,
  21. TextWidthBasis? textWidgetBasis,
})

Implementation

const FlickerNeonText({
  Key? key,
  required this.text,
  this.textAlign = TextAlign.center,
  this.fontStyle = FontStyle.normal,
  this.textOverflow = TextOverflow.visible,
  this.textWidthBasis = TextWidthBasis.parent,
  this.textDirection = TextDirection.ltr,
  this.isSoftWrap = true,
  this.textSize = 20,
  this.fontWeight = FontWeight.normal,
  this.spreadColor = Colors.deepPurple,
  this.blurRadius = 20,
  this.textColor = Colors.white,
  this.randomFlicker = true,
  this.flickerTimeInMilliSeconds = 3000,
  this.fontFamily,
  this.wordSpacing,
  this.maxLine,
  this.textHeightBehavior,
  this.letterSpacing,
  this.textWidgetBasis,
}) : super(key: key);