ExpandText constructor

const ExpandText(
  1. String data, {
  2. Key? key,
  3. Duration animationDuration = _kExpandDuration,
  4. int maxLines = 8,
  5. TextStyle? style,
  6. TextAlign textAlign = TextAlign.justify,
  7. TextOverflow overflow = TextOverflow.fade,
  8. bool expandWidth = false,
  9. bool expandOnGesture = false,
  10. bool hideIndicatorOnExpand = false,
  11. IndicatorBuilder? indicatorBuilder,
  12. ExpandIndicatorStyle expandIndicatorStyle = ExpandIndicatorStyle.icon,
  13. String? indicatorCollapsedHint,
  14. String? indicatorExpandedHint,
  15. EdgeInsets? indicatorPadding,
  16. Color? indicatorIconColor,
  17. double? indicatorIconSize,
  18. IconData? indicatorIcon,
  19. TextStyle? indicatorHintTextStyle,
  20. bool capitalizeIndicatorHintText = true,
  21. Alignment? indicatorAlignment,
})

Implementation

const ExpandText(
  this.data, {
  super.key,
  this.animationDuration = _kExpandDuration,
  this.maxLines = 8,
  this.style,
  this.textAlign = TextAlign.justify,
  this.overflow = TextOverflow.fade,
  this.expandWidth = false,
  this.expandOnGesture = false,
  this.hideIndicatorOnExpand = false,
  this.indicatorBuilder,
  this.expandIndicatorStyle = ExpandIndicatorStyle.icon,
  this.indicatorCollapsedHint,
  this.indicatorExpandedHint,
  this.indicatorPadding,
  this.indicatorIconColor,
  this.indicatorIconSize,
  this.indicatorIcon,
  this.indicatorHintTextStyle,
  this.capitalizeIndicatorHintText = true,
  this.indicatorAlignment,
});