DecoratedText constructor

const DecoratedText({
  1. Key? key,
  2. required String text,
  3. required List<DecoratorRule> rules,
  4. TextStyle? style,
  5. TextAlign? textAlign,
  6. TextDirection? textDirection,
  7. bool? softWrap,
  8. TextOverflow? overflow,
  9. double? textScaleFactor,
  10. int? maxLines,
  11. Locale? locale,
  12. StrutStyle? strutStyle,
  13. TextWidthBasis? textWidthBasis,
  14. TextHeightBehavior? textHeightBehavior,
  15. bool selectable = false,
})

Implementation

const DecoratedText({
  Key? key,
  required this.text,
  required this.rules,
  this.style,
  this.textAlign,
  this.textDirection,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.locale,
  this.strutStyle,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectable = false,
}) : super(key: key);