ExpandableText constructor
const
ExpandableText({})
Constructs an ExpandableText widget.
The text
parameter is required and represents the full text to be displayed.
The wordLimit
parameter is required and sets the word limit for the initial display before expanding.
The textStyle
parameter is required and represents the text style for the displayed text.
Implementation
const ExpandableText({
Key? key,
required this.text,
required this.wordLimit,
required this.textStyle,
}) : super(key: key);