truncationMode method
- TextOverflow overflow
Changes the DefaultTextStyle.overflow for this widget.
Implementation
Widget truncationMode(TextOverflow overflow) {
return DefaultTextStyle(
overflow: overflow,
style: style!,
child: this,
);
}