JuiExpandableText constructor

const JuiExpandableText({
  1. Key? key,
  2. required String text,
  3. bool canPackUp = true,
  4. int maxLines = 6,
  5. TextStyle? contentTextStyle,
  6. TextStyle? expandedTextStyle,
  7. String expandText = '展开',
  8. String collapseText = '收起',
})

Implementation

const JuiExpandableText({
  Key? key,
  required this.text,
  this.canPackUp = true,
  this.maxLines = 6,
  this.contentTextStyle,
  this.expandedTextStyle,
  this.expandText = '展开',
  this.collapseText = '收起',
}) : super(key: key);