ExpandableText constructor

const ExpandableText({
  1. Key? key,
  2. required String text,
  3. int? maxLines = 1000000,
  4. TextStyle? textStyle,
  5. TextExpandedCallback? onExpanded,
  6. Color? color,
})

Implementation

const ExpandableText(
    {Key? key,
    required this.text,
    this.maxLines = 1000000,
    this.textStyle,
    this.onExpanded,
    this.color})
    : super(key: key);