ExpandableText.manual constructor
ExpandableText.manual(
- String text, {
- required bool expand,
- required TickerProvider? vsync,
- 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,
- Alignment alignment = Alignment.topCenter,
- Key? key,
Manual control Show and hide text completely
Implementation
ExpandableText.manual(this.text,
{required this.expand,
required this.vsync,
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.alignment = Alignment.topCenter,
Key? key})
: lines = null,
arrowColor = null,
arrowSize = 24,
arrowWidgetBuilder = null,
expandMode = _ExpandMode.Manual,
super(key: key);