TxExpandableText constructor
const
TxExpandableText(
- String data, {
- Key? key,
- int? collapsedLines,
- int? maxLines,
- TextStyle? style,
- String? collapseButtonLabel,
- String? expandButtonLabel,
- Widget? collapseIcon,
- Widget? expandIcon,
- Color? toggleButtonForegroundColor,
- TextStyle? toggleButtonTextStyle,
- bool? expanded,
- bool expandable = true,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextScaler? textScaler,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- Color? selectionColor,
- ValueChanged<
bool> ? onToggle, - TxTextOverflow? overflow,
Implementation
const TxExpandableText(
this.data, {
super.key,
this.collapsedLines,
this.maxLines,
this.style,
this.collapseButtonLabel,
this.expandButtonLabel,
this.collapseIcon,
this.expandIcon,
this.toggleButtonForegroundColor,
this.toggleButtonTextStyle,
this.expanded,
this.expandable = true,
this.strutStyle,
this.textAlign,
this.textDirection,
this.locale,
this.softWrap,
this.textScaler,
this.semanticsLabel,
this.textWidthBasis,
this.textHeightBehavior,
this.selectionColor,
this.onToggle,
this.overflow,
});