ReadMore constructor
const
ReadMore(
- String data, {
- Key? key,
- String trimExpandedText = 'see less',
- String trimCollapsedText = 'see 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,
- TextStyle? moreStyle,
- TextStyle? lessStyle,
- String delimiter = _kEllipsis + ' ',
- TextStyle? delimiterStyle,
- dynamic callback(
- bool val
Implementation
const ReadMore(
this.data, {
Key? key,
this.trimExpandedText = 'see less',
this.trimCollapsedText = 'see 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,
this.moreStyle,
this.lessStyle,
this.delimiter = _kEllipsis + ' ',
this.delimiterStyle,
this.callback,
}) : super(key: key);