ShowMoreText constructor

const ShowMoreText(
  1. String text, {
  2. Key? key,
  3. int maxLines = 1,
  4. TextStyle? style,
  5. TextStyle? showMoreStyle,
  6. TextAlign? textAlign,
  7. TextOverflow overflow = TextOverflow.ellipsis,
  8. PopupMenuThemeData popupMenuTheme = const PopupMenuThemeData(),
})

Implementation

const ShowMoreText(
  this.text, {
  super.key,
  this.maxLines = 1,
  this.style,
  this.showMoreStyle,
  this.textAlign,
  this.overflow = TextOverflow.ellipsis,
  this.popupMenuTheme = const PopupMenuThemeData(),
});