FlickerNeonText constructor
const
FlickerNeonText({
- Key? key,
- required String text,
- TextAlign textAlign = TextAlign.center,
- FontStyle fontStyle = FontStyle.normal,
- TextOverflow textOverflow = TextOverflow.visible,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- TextDirection textDirection = TextDirection.ltr,
- bool isSoftWrap = true,
- double textSize = 20,
- FontWeight fontWeight = FontWeight.normal,
- Color spreadColor = Colors.deepPurple,
- double blurRadius = 20,
- Color textColor = Colors.white,
- bool randomFlicker = true,
- int flickerTimeInMilliSeconds = 3000,
- String? fontFamily,
- double? wordSpacing,
- int? maxLine,
- TextHeightBehavior? textHeightBehavior,
- double? letterSpacing,
- 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);