PhoenixExpandableContentBlock constructor

const PhoenixExpandableContentBlock({
  1. Key? key,
  2. required String text,
  3. required TextStyle style,
  4. List<Url>? urls,
  5. required String shortenButtonLabel,
  6. required String expandButtonLabel,
  7. int maxLines = 6,
  8. VoidCallback? expandableStateChangeCallback,
  9. VoidCallback? textCopiedCallback,
})

Implementation

const PhoenixExpandableContentBlock({
  Key? key,
  required this.text,
  required this.style,
  this.urls,
  required this.shortenButtonLabel,
  required this.expandButtonLabel,
  this.maxLines = 6,
  this.expandableStateChangeCallback,
  this.textCopiedCallback,
}) : super(key: key);