ReadMoreWidget constructor
const
ReadMoreWidget(
- String text, {
- required int maxLines,
- required Widget showMore,
- bool isSelectable = false,
- TextDirection textDirection = TextDirection.ltr,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- TextStyle? textStyle,
- Widget? showLess,
- Key? key,
Implementation
const ReadMoreWidget(
this.text, {
required this.maxLines,
required this.showMore,
this.isSelectable = false,
this.textDirection = TextDirection.ltr,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.textStyle,
this.showLess,
Key? key,
}) : super(key: key);