ExpandText constructor
const
ExpandText(
- String data, {
- Key? key,
- Duration animationDuration = _kExpandDuration,
- int maxLines = 8,
- TextStyle? style,
- TextAlign textAlign = TextAlign.justify,
- TextOverflow overflow = TextOverflow.fade,
- bool expandWidth = false,
- bool expandOnGesture = false,
- bool hideIndicatorOnExpand = false,
- IndicatorBuilder? indicatorBuilder,
- ExpandIndicatorStyle expandIndicatorStyle = ExpandIndicatorStyle.icon,
- String? indicatorCollapsedHint,
- String? indicatorExpandedHint,
- EdgeInsets? indicatorPadding,
- Color? indicatorIconColor,
- double? indicatorIconSize,
- IconData? indicatorIcon,
- TextStyle? indicatorHintTextStyle,
- bool capitalizeIndicatorHintText = true,
- 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,
});