ReadyReadMoreText constructor

const ReadyReadMoreText({
  1. Key? key,
  2. required String text,
  3. TextStyle? textStyle,
  4. TextStyle? moreLessStyle,
  5. int trimLines = 2,
  6. int trimLength = 100,
  7. TrimMode trimMode = TrimMode.line,
  8. String readMoreText = ' Read more',
  9. String readLessText = ' Read less',
})

Implementation

const ReadyReadMoreText({
  super.key,
  required this.text,
  this.textStyle,
  this.moreLessStyle,
  this.trimLines = 2,
  this.trimLength = 100,
  this.trimMode = TrimMode.line,
  this.readMoreText = ' Read more',
  this.readLessText = ' Read less',
});