ProKitRichTextReadMore constructor
const
ProKitRichTextReadMore({
- Key? key,
- required String text,
- required int maxChars,
- TextStyle? textStyle,
- TextAlign? align,
- TextOverflow? overflow,
- String readMoreText = "Read More",
- String showLessText = "Show Less",
- Color? readMoreColor = Colors.blue,
- Color? showLessColor = Colors.blue,
- bool underlineReadMore = true,
- bool underlineShowLess = true,
- 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,
});