ExpandableText.showHide constructor
ExpandableText.showHide(
- String text, {
- Color? arrowColor,
- double arrowSize = 24,
- ArrowBuilder? arrowWidgetBuilder,
- Duration animationDuration = const Duration(milliseconds: 150),
- TextStyle? textStyle,
- StrutStyle? strutStyle,
- TextAlign textAlign = TextAlign.start,
- TextDirection textDirection = TextDirection.ltr,
- Locale? locale,
- double textScaleFactor = 1,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- bool expand = false,
- Alignment alignment = Alignment.topCenter,
- Key? key,
Auto control Show and hide text completely. With a arrow at the bottom.
Implementation
ExpandableText.showHide(this.text,
{this.arrowColor,
this.arrowSize = 24,
this.arrowWidgetBuilder,
this.animationDuration = const Duration(milliseconds: 150),
this.textStyle,
this.strutStyle,
this.textAlign = TextAlign.start,
this.textDirection = TextDirection.ltr,
this.locale,
this.textScaleFactor = 1,
this.textWidthBasis = TextWidthBasis.parent,
this.expand = false,
this.alignment = Alignment.topCenter,
Key? key})
: lines = null,
vsync = null,
expandMode = _ExpandMode.ShowHide,
super(key: key);