ProKitRichTextReadMore constructor

const ProKitRichTextReadMore({
  1. Key? key,
  2. required String text,
  3. required int maxChars,
  4. TextStyle? textStyle,
  5. TextAlign? align,
  6. TextOverflow? overflow,
  7. String readMoreText = "Read More",
  8. String showLessText = "Show Less",
  9. Color? readMoreColor = Colors.blue,
  10. Color? showLessColor = Colors.blue,
  11. bool underlineReadMore = true,
  12. bool underlineShowLess = true,
  13. VoidCallback? onTap,
})

Implementation

const ProKitRichTextReadMore({
  super.key,
  required this.text,
  required this.maxChars,
  this.textStyle,
  this.align,
  this.overflow,
  this.readMoreText = "Read More",
  this.showLessText = "Show Less",
  this.readMoreColor = Colors.blue,
  this.showLessColor = Colors.blue,
  this.underlineReadMore = true,
  this.underlineShowLess = true,
  this.onTap,
});