DecoratedText constructor
const
DecoratedText({
- Key? key,
- required String text,
- required List<
DecoratorRule> rules, - TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- Locale? locale,
- StrutStyle? strutStyle,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- 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);