ExpandableText constructor

const ExpandableText(
  1. String data,
  2. {int maxLines: 3,
  3. TextOverflow overflow: TextOverflow.fade,
  4. TextStyle style: const TextStyle(),
  5. String showMoreText,
  6. String showLessText,
  7. bool allowShowLess: false}
)

Implementation

const ExpandableText(
  this.data, {
  this.maxLines = 3,
  this.overflow = TextOverflow.fade,
  this.style = const TextStyle(),
  this.showMoreText,
  this.showLessText,
  this.allowShowLess = false,
});