EllipsisText constructor

const EllipsisText({
  1. Key? key,
  2. required String text,
  3. TextStyle? style,
  4. required String ellipsis,
  5. double maxWidth = double.infinity,
  6. double minWidth = 0,
  7. int maxLines = 2,
  8. TextDirection? textDirection,
  9. bool? isShowMore,
  10. bool? startScaleIsSmall,
  11. InteractiveInkFeatureFactory? splashFactory,
})

Implementation

const EllipsisText({
  Key? key,
  required this.text,
  this.style,
  required this.ellipsis,
  this.maxWidth = double.infinity,
  this.minWidth = 0,
  this.maxLines = 2,
  this.textDirection,
  this.isShowMore,
  this.startScaleIsSmall,
  this.splashFactory,
}) : super(key: key);