ReadMoreWidget constructor

const ReadMoreWidget(
  1. String text, {
  2. required int maxLines,
  3. required Widget showMore,
  4. bool isSelectable = false,
  5. TextDirection textDirection = TextDirection.ltr,
  6. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  7. TextStyle? textStyle,
  8. Widget? showLess,
  9. 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);