ReadMoreText constructor
const
ReadMoreText(
- String data, {
- Key? key,
- String trimExpandedText = ' read less',
- String trimCollapsedText = ' ...read more',
- Color? colorClickableText,
- int trimLength = 240,
- int trimLines = 2,
- TrimMode trimMode = TrimMode.Length,
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- double? textScaleFactor,
- String? semanticsLabel,
Implementation
const ReadMoreText(
this.data, {
super.key,
this.trimExpandedText = ' read less',
this.trimCollapsedText = ' ...read more',
this.colorClickableText,
this.trimLength = 240,
this.trimLines = 2,
this.trimMode = TrimMode.Length,
this.style,
this.textAlign,
this.textDirection,
this.locale,
this.textScaleFactor,
this.semanticsLabel,
});